Documentation ¶
Index ¶
- type Datetimes
- func (this Datetimes) Eq(d Datetimes) bool
- func (this Datetimes) Gt(d Datetimes) bool
- func (this Datetimes) Gte(d Datetimes) bool
- func (this Datetimes) Intersection(x Datetimes) Datetimes
- func (this Datetimes) IsContain(x Datetimes) bool
- func (this Datetimes) Length() int64
- func (this Datetimes) LengthWithNanosecond() int64
- func (this Datetimes) Lt(d Datetimes) bool
- func (this Datetimes) Lte(d Datetimes) bool
- func (this Datetimes) Ne(d Datetimes) bool
- func (this Datetimes) Union(x Datetimes) []Datetimes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datetimes ¶
type Datetimes struct { // 开始时间 / start time Start datebin.Datebin // 结束时间 / end time End datebin.Datebin }
*
- 时间范围 / Datetimes *
- @create 2024-1-6
- @author deatil
func (Datetimes) Intersection ¶
获取交集数据 get Intersection times
func (Datetimes) LengthWithNanosecond ¶
获取范围长度带纳米 get Length With Nanosecond
Click to show internal directories.
Click to hide internal directories.