Documentation ¶
Index ¶
- type RFC3339NanoTime
- func (t RFC3339NanoTime) Add(d time.Duration) RFC3339NanoTime
- func (t RFC3339NanoTime) AddDate(years int, months int, days int) RFC3339NanoTime
- func (t RFC3339NanoTime) After(u RFCTime) bool
- func (t RFC3339NanoTime) Before(u RFCTime) bool
- func (t RFC3339NanoTime) Clock() (hour, min, sec int)
- func (t RFC3339NanoTime) Date() (year int, month time.Month, day int)
- func (t RFC3339NanoTime) Day() int
- func (t RFC3339NanoTime) Equal(u RFCTime) bool
- func (t RFC3339NanoTime) Format(layout string) string
- func (t RFC3339NanoTime) FormatStr() string
- func (t RFC3339NanoTime) GoString() string
- func (t *RFC3339NanoTime) GobDecode(data []byte) error
- func (t RFC3339NanoTime) GobEncode() ([]byte, error)
- func (t RFC3339NanoTime) Hour() int
- func (t RFC3339NanoTime) ISOWeek() (year, week int)
- func (t RFC3339NanoTime) IsZero() bool
- func (t RFC3339NanoTime) MarshalBinary() ([]byte, error)
- func (t RFC3339NanoTime) MarshalJSON() ([]byte, error)
- func (t RFC3339NanoTime) MarshalText() ([]byte, error)
- func (t RFC3339NanoTime) Minute() int
- func (t RFC3339NanoTime) Month() time.Month
- func (t RFC3339NanoTime) Nanosecond() int
- func (t RFC3339NanoTime) Second() int
- func (t RFC3339NanoTime) Serialize() string
- func (t RFC3339NanoTime) String() string
- func (t RFC3339NanoTime) Sub(u RFCTime) time.Duration
- func (t RFC3339NanoTime) Time() time.Time
- func (t RFC3339NanoTime) Unix() int64
- func (t RFC3339NanoTime) UnixMicro() int64
- func (t RFC3339NanoTime) UnixMilli() int64
- func (t RFC3339NanoTime) UnixNano() int64
- func (t *RFC3339NanoTime) UnmarshalBinary(data []byte) error
- func (t *RFC3339NanoTime) UnmarshalJSON(data []byte) error
- func (t *RFC3339NanoTime) UnmarshalText(data []byte) error
- func (t RFC3339NanoTime) Weekday() time.Weekday
- func (t RFC3339NanoTime) Year() int
- func (t RFC3339NanoTime) YearDay() int
- type RFC3339Time
- func (t RFC3339Time) Add(d time.Duration) RFC3339Time
- func (t RFC3339Time) AddDate(years int, months int, days int) RFC3339Time
- func (t RFC3339Time) After(u RFCTime) bool
- func (t RFC3339Time) Before(u RFCTime) bool
- func (t RFC3339Time) Clock() (hour, min, sec int)
- func (t RFC3339Time) Date() (year int, month time.Month, day int)
- func (t RFC3339Time) Day() int
- func (t RFC3339Time) Equal(u RFCTime) bool
- func (t RFC3339Time) Format(layout string) string
- func (t RFC3339Time) FormatStr() string
- func (t RFC3339Time) GoString() string
- func (t *RFC3339Time) GobDecode(data []byte) error
- func (t RFC3339Time) GobEncode() ([]byte, error)
- func (t RFC3339Time) Hour() int
- func (t RFC3339Time) ISOWeek() (year, week int)
- func (t RFC3339Time) IsZero() bool
- func (t RFC3339Time) MarshalBinary() ([]byte, error)
- func (t RFC3339Time) MarshalJSON() ([]byte, error)
- func (t RFC3339Time) MarshalText() ([]byte, error)
- func (t RFC3339Time) Minute() int
- func (t RFC3339Time) Month() time.Month
- func (t RFC3339Time) Nanosecond() int
- func (t RFC3339Time) Second() int
- func (t RFC3339Time) Serialize() string
- func (t RFC3339Time) String() string
- func (t RFC3339Time) Sub(u RFCTime) time.Duration
- func (t RFC3339Time) Time() time.Time
- func (t RFC3339Time) Unix() int64
- func (t RFC3339Time) UnixMicro() int64
- func (t RFC3339Time) UnixMilli() int64
- func (t RFC3339Time) UnixNano() int64
- func (t *RFC3339Time) UnmarshalBinary(data []byte) error
- func (t *RFC3339Time) UnmarshalJSON(data []byte) error
- func (t *RFC3339Time) UnmarshalText(data []byte) error
- func (t RFC3339Time) Weekday() time.Weekday
- func (t RFC3339Time) Year() int
- func (t RFC3339Time) YearDay() int
- type RFCDuration
- type RFCTime
- type SecondsF64
- func (d SecondsF64) Duration() time.Duration
- func (d SecondsF64) Hours() float64
- func (d SecondsF64) MarshalJSON() ([]byte, error)
- func (d SecondsF64) Microseconds() int64
- func (d SecondsF64) Milliseconds() int64
- func (d SecondsF64) Minutes() float64
- func (d SecondsF64) Nanoseconds() int64
- func (d SecondsF64) Seconds() float64
- func (d SecondsF64) String() string
- func (d *SecondsF64) UnmarshalJSON(data []byte) error
- type UnixMilliTime
- func (t UnixMilliTime) Add(d time.Duration) UnixMilliTime
- func (t UnixMilliTime) AddDate(years int, months int, days int) UnixMilliTime
- func (t UnixMilliTime) After(u RFCTime) bool
- func (t UnixMilliTime) Before(u RFCTime) bool
- func (t UnixMilliTime) Clock() (hour, min, sec int)
- func (t UnixMilliTime) Date() (year int, month time.Month, day int)
- func (t UnixMilliTime) Day() int
- func (t UnixMilliTime) Equal(u RFCTime) bool
- func (t UnixMilliTime) Format(layout string) string
- func (t UnixMilliTime) GoString() string
- func (t *UnixMilliTime) GobDecode(data []byte) error
- func (t UnixMilliTime) GobEncode() ([]byte, error)
- func (t UnixMilliTime) Hour() int
- func (t UnixMilliTime) ISOWeek() (year, week int)
- func (t UnixMilliTime) IsZero() bool
- func (t UnixMilliTime) MarshalBinary() ([]byte, error)
- func (t UnixMilliTime) MarshalJSON() ([]byte, error)
- func (t UnixMilliTime) MarshalText() ([]byte, error)
- func (t UnixMilliTime) Minute() int
- func (t UnixMilliTime) Month() time.Month
- func (t UnixMilliTime) Nanosecond() int
- func (t UnixMilliTime) Second() int
- func (t UnixMilliTime) Serialize() string
- func (t UnixMilliTime) String() string
- func (t UnixMilliTime) Sub(u RFCTime) time.Duration
- func (t UnixMilliTime) Time() time.Time
- func (t UnixMilliTime) Unix() int64
- func (t UnixMilliTime) UnixMicro() int64
- func (t UnixMilliTime) UnixMilli() int64
- func (t UnixMilliTime) UnixNano() int64
- func (t *UnixMilliTime) UnmarshalBinary(data []byte) error
- func (t *UnixMilliTime) UnmarshalJSON(data []byte) error
- func (t *UnixMilliTime) UnmarshalText(data []byte) error
- func (t UnixMilliTime) Weekday() time.Weekday
- func (t UnixMilliTime) Year() int
- func (t UnixMilliTime) YearDay() int
- type UnixNanoTime
- func (t UnixNanoTime) Add(d time.Duration) UnixNanoTime
- func (t UnixNanoTime) AddDate(years int, months int, days int) UnixNanoTime
- func (t UnixNanoTime) After(u RFCTime) bool
- func (t UnixNanoTime) Before(u RFCTime) bool
- func (t UnixNanoTime) Clock() (hour, min, sec int)
- func (t UnixNanoTime) Date() (year int, month time.Month, day int)
- func (t UnixNanoTime) Day() int
- func (t UnixNanoTime) Equal(u RFCTime) bool
- func (t UnixNanoTime) Format(layout string) string
- func (t UnixNanoTime) GoString() string
- func (t *UnixNanoTime) GobDecode(data []byte) error
- func (t UnixNanoTime) GobEncode() ([]byte, error)
- func (t UnixNanoTime) Hour() int
- func (t UnixNanoTime) ISOWeek() (year, week int)
- func (t UnixNanoTime) IsZero() bool
- func (t UnixNanoTime) MarshalBinary() ([]byte, error)
- func (t UnixNanoTime) MarshalJSON() ([]byte, error)
- func (t UnixNanoTime) MarshalText() ([]byte, error)
- func (t UnixNanoTime) Minute() int
- func (t UnixNanoTime) Month() time.Month
- func (t UnixNanoTime) Nanosecond() int
- func (t UnixNanoTime) Second() int
- func (t UnixNanoTime) Serialize() string
- func (t UnixNanoTime) String() string
- func (t UnixNanoTime) Sub(u RFCTime) time.Duration
- func (t UnixNanoTime) Time() time.Time
- func (t UnixNanoTime) Unix() int64
- func (t UnixNanoTime) UnixMicro() int64
- func (t UnixNanoTime) UnixMilli() int64
- func (t UnixNanoTime) UnixNano() int64
- func (t *UnixNanoTime) UnmarshalBinary(data []byte) error
- func (t *UnixNanoTime) UnmarshalJSON(data []byte) error
- func (t *UnixNanoTime) UnmarshalText(data []byte) error
- func (t UnixNanoTime) Weekday() time.Weekday
- func (t UnixNanoTime) Year() int
- func (t UnixNanoTime) YearDay() int
- type UnixTime
- func (t UnixTime) Add(d time.Duration) UnixTime
- func (t UnixTime) AddDate(years int, months int, days int) UnixTime
- func (t UnixTime) After(u RFCTime) bool
- func (t UnixTime) Before(u RFCTime) bool
- func (t UnixTime) Clock() (hour, min, sec int)
- func (t UnixTime) Date() (year int, month time.Month, day int)
- func (t UnixTime) Day() int
- func (t UnixTime) Equal(u RFCTime) bool
- func (t UnixTime) Format(layout string) string
- func (t UnixTime) GoString() string
- func (t *UnixTime) GobDecode(data []byte) error
- func (t UnixTime) GobEncode() ([]byte, error)
- func (t UnixTime) Hour() int
- func (t UnixTime) ISOWeek() (year, week int)
- func (t UnixTime) IsZero() bool
- func (t UnixTime) MarshalBinary() ([]byte, error)
- func (t UnixTime) MarshalJSON() ([]byte, error)
- func (t UnixTime) MarshalText() ([]byte, error)
- func (t UnixTime) Minute() int
- func (t UnixTime) Month() time.Month
- func (t UnixTime) Nanosecond() int
- func (t UnixTime) Second() int
- func (t UnixTime) Serialize() string
- func (t UnixTime) String() string
- func (t UnixTime) Sub(u RFCTime) time.Duration
- func (t UnixTime) Time() time.Time
- func (t UnixTime) Unix() int64
- func (t UnixTime) UnixMicro() int64
- func (t UnixTime) UnixMilli() int64
- func (t UnixTime) UnixNano() int64
- func (t *UnixTime) UnmarshalBinary(data []byte) error
- func (t *UnixTime) UnmarshalJSON(data []byte) error
- func (t *UnixTime) UnmarshalText(data []byte) error
- func (t UnixTime) Weekday() time.Weekday
- func (t UnixTime) Year() int
- func (t UnixTime) YearDay() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RFC3339NanoTime ¶
func NewRFC3339Nano ¶
func NewRFC3339Nano(t time.Time) RFC3339NanoTime
func NowRFC3339Nano ¶
func NowRFC3339Nano() RFC3339NanoTime
func (RFC3339NanoTime) Add ¶
func (t RFC3339NanoTime) Add(d time.Duration) RFC3339NanoTime
func (RFC3339NanoTime) AddDate ¶
func (t RFC3339NanoTime) AddDate(years int, months int, days int) RFC3339NanoTime
func (RFC3339NanoTime) After ¶
func (t RFC3339NanoTime) After(u RFCTime) bool
func (RFC3339NanoTime) Before ¶
func (t RFC3339NanoTime) Before(u RFCTime) bool
func (RFC3339NanoTime) Clock ¶
func (t RFC3339NanoTime) Clock() (hour, min, sec int)
func (RFC3339NanoTime) Day ¶
func (t RFC3339NanoTime) Day() int
func (RFC3339NanoTime) Equal ¶
func (t RFC3339NanoTime) Equal(u RFCTime) bool
func (RFC3339NanoTime) Format ¶
func (t RFC3339NanoTime) Format(layout string) string
func (RFC3339NanoTime) FormatStr ¶
func (t RFC3339NanoTime) FormatStr() string
func (RFC3339NanoTime) GoString ¶
func (t RFC3339NanoTime) GoString() string
func (*RFC3339NanoTime) GobDecode ¶
func (t *RFC3339NanoTime) GobDecode(data []byte) error
func (RFC3339NanoTime) GobEncode ¶
func (t RFC3339NanoTime) GobEncode() ([]byte, error)
func (RFC3339NanoTime) Hour ¶
func (t RFC3339NanoTime) Hour() int
func (RFC3339NanoTime) ISOWeek ¶
func (t RFC3339NanoTime) ISOWeek() (year, week int)
func (RFC3339NanoTime) IsZero ¶
func (t RFC3339NanoTime) IsZero() bool
func (RFC3339NanoTime) MarshalBinary ¶
func (t RFC3339NanoTime) MarshalBinary() ([]byte, error)
func (RFC3339NanoTime) MarshalJSON ¶
func (t RFC3339NanoTime) MarshalJSON() ([]byte, error)
func (RFC3339NanoTime) MarshalText ¶
func (t RFC3339NanoTime) MarshalText() ([]byte, error)
func (RFC3339NanoTime) Minute ¶
func (t RFC3339NanoTime) Minute() int
func (RFC3339NanoTime) Month ¶
func (t RFC3339NanoTime) Month() time.Month
func (RFC3339NanoTime) Nanosecond ¶
func (t RFC3339NanoTime) Nanosecond() int
func (RFC3339NanoTime) Second ¶
func (t RFC3339NanoTime) Second() int
func (RFC3339NanoTime) Serialize ¶
func (t RFC3339NanoTime) Serialize() string
func (RFC3339NanoTime) String ¶
func (t RFC3339NanoTime) String() string
func (RFC3339NanoTime) Time ¶
func (t RFC3339NanoTime) Time() time.Time
func (RFC3339NanoTime) Unix ¶
func (t RFC3339NanoTime) Unix() int64
func (RFC3339NanoTime) UnixMicro ¶
func (t RFC3339NanoTime) UnixMicro() int64
func (RFC3339NanoTime) UnixMilli ¶
func (t RFC3339NanoTime) UnixMilli() int64
func (RFC3339NanoTime) UnixNano ¶
func (t RFC3339NanoTime) UnixNano() int64
func (*RFC3339NanoTime) UnmarshalBinary ¶
func (t *RFC3339NanoTime) UnmarshalBinary(data []byte) error
func (*RFC3339NanoTime) UnmarshalJSON ¶
func (t *RFC3339NanoTime) UnmarshalJSON(data []byte) error
func (*RFC3339NanoTime) UnmarshalText ¶
func (t *RFC3339NanoTime) UnmarshalText(data []byte) error
func (RFC3339NanoTime) Weekday ¶
func (t RFC3339NanoTime) Weekday() time.Weekday
func (RFC3339NanoTime) Year ¶
func (t RFC3339NanoTime) Year() int
func (RFC3339NanoTime) YearDay ¶
func (t RFC3339NanoTime) YearDay() int
type RFC3339Time ¶ added in v0.0.69
func NewRFC3339 ¶ added in v0.0.69
func NewRFC3339(t time.Time) RFC3339Time
func NowRFC3339 ¶ added in v0.0.69
func NowRFC3339() RFC3339Time
func (RFC3339Time) Add ¶ added in v0.0.69
func (t RFC3339Time) Add(d time.Duration) RFC3339Time
func (RFC3339Time) AddDate ¶ added in v0.0.69
func (t RFC3339Time) AddDate(years int, months int, days int) RFC3339Time
func (RFC3339Time) After ¶ added in v0.0.69
func (t RFC3339Time) After(u RFCTime) bool
func (RFC3339Time) Before ¶ added in v0.0.69
func (t RFC3339Time) Before(u RFCTime) bool
func (RFC3339Time) Clock ¶ added in v0.0.69
func (t RFC3339Time) Clock() (hour, min, sec int)
func (RFC3339Time) Date ¶ added in v0.0.69
func (t RFC3339Time) Date() (year int, month time.Month, day int)
func (RFC3339Time) Day ¶ added in v0.0.69
func (t RFC3339Time) Day() int
func (RFC3339Time) Equal ¶ added in v0.0.69
func (t RFC3339Time) Equal(u RFCTime) bool
func (RFC3339Time) Format ¶ added in v0.0.69
func (t RFC3339Time) Format(layout string) string
func (RFC3339Time) FormatStr ¶ added in v0.0.69
func (t RFC3339Time) FormatStr() string
func (RFC3339Time) GoString ¶ added in v0.0.69
func (t RFC3339Time) GoString() string
func (*RFC3339Time) GobDecode ¶ added in v0.0.69
func (t *RFC3339Time) GobDecode(data []byte) error
func (RFC3339Time) GobEncode ¶ added in v0.0.69
func (t RFC3339Time) GobEncode() ([]byte, error)
func (RFC3339Time) Hour ¶ added in v0.0.69
func (t RFC3339Time) Hour() int
func (RFC3339Time) ISOWeek ¶ added in v0.0.69
func (t RFC3339Time) ISOWeek() (year, week int)
func (RFC3339Time) IsZero ¶ added in v0.0.69
func (t RFC3339Time) IsZero() bool
func (RFC3339Time) MarshalBinary ¶ added in v0.0.69
func (t RFC3339Time) MarshalBinary() ([]byte, error)
func (RFC3339Time) MarshalJSON ¶ added in v0.0.69
func (t RFC3339Time) MarshalJSON() ([]byte, error)
func (RFC3339Time) MarshalText ¶ added in v0.0.69
func (t RFC3339Time) MarshalText() ([]byte, error)
func (RFC3339Time) Minute ¶ added in v0.0.69
func (t RFC3339Time) Minute() int
func (RFC3339Time) Month ¶ added in v0.0.69
func (t RFC3339Time) Month() time.Month
func (RFC3339Time) Nanosecond ¶ added in v0.0.69
func (t RFC3339Time) Nanosecond() int
func (RFC3339Time) Second ¶ added in v0.0.69
func (t RFC3339Time) Second() int
func (RFC3339Time) Serialize ¶ added in v0.0.69
func (t RFC3339Time) Serialize() string
func (RFC3339Time) String ¶ added in v0.0.69
func (t RFC3339Time) String() string
func (RFC3339Time) Time ¶ added in v0.0.69
func (t RFC3339Time) Time() time.Time
func (RFC3339Time) Unix ¶ added in v0.0.69
func (t RFC3339Time) Unix() int64
func (RFC3339Time) UnixMicro ¶ added in v0.0.69
func (t RFC3339Time) UnixMicro() int64
func (RFC3339Time) UnixMilli ¶ added in v0.0.69
func (t RFC3339Time) UnixMilli() int64
func (RFC3339Time) UnixNano ¶ added in v0.0.69
func (t RFC3339Time) UnixNano() int64
func (*RFC3339Time) UnmarshalBinary ¶ added in v0.0.69
func (t *RFC3339Time) UnmarshalBinary(data []byte) error
func (*RFC3339Time) UnmarshalJSON ¶ added in v0.0.69
func (t *RFC3339Time) UnmarshalJSON(data []byte) error
func (*RFC3339Time) UnmarshalText ¶ added in v0.0.69
func (t *RFC3339Time) UnmarshalText(data []byte) error
func (RFC3339Time) Weekday ¶ added in v0.0.69
func (t RFC3339Time) Weekday() time.Weekday
func (RFC3339Time) Year ¶ added in v0.0.69
func (t RFC3339Time) Year() int
func (RFC3339Time) YearDay ¶ added in v0.0.69
func (t RFC3339Time) YearDay() int
type RFCDuration ¶ added in v0.0.79
type RFCDuration interface { Time() time.Time Serialize() string UnmarshalJSON(bytes []byte) error MarshalJSON() ([]byte, error) MarshalBinary() ([]byte, error) UnmarshalBinary(data []byte) error GobEncode() ([]byte, error) GobDecode(data []byte) error MarshalText() ([]byte, error) UnmarshalText(data []byte) error After(u RFCTime) bool Before(u RFCTime) bool Equal(u RFCTime) bool IsZero() bool Date() (year int, month time.Month, day int) Year() int Month() time.Month Day() int Weekday() time.Weekday ISOWeek() (year, week int) Clock() (hour, min, sec int) Hour() int Minute() int Second() int Nanosecond() int YearDay() int Sub(u RFCTime) time.Duration Unix() int64 UnixMilli() int64 UnixMicro() int64 UnixNano() int64 Format(layout string) string GoString() string String() string }
type RFCTime ¶
type RFCTime interface { Time() time.Time Serialize() string UnmarshalJSON(bytes []byte) error MarshalJSON() ([]byte, error) MarshalBinary() ([]byte, error) UnmarshalBinary(data []byte) error GobEncode() ([]byte, error) GobDecode(data []byte) error MarshalText() ([]byte, error) UnmarshalText(data []byte) error After(u RFCTime) bool Before(u RFCTime) bool Equal(u RFCTime) bool IsZero() bool Date() (year int, month time.Month, day int) Year() int Month() time.Month Day() int Weekday() time.Weekday ISOWeek() (year, week int) Clock() (hour, min, sec int) Hour() int Minute() int Second() int Nanosecond() int YearDay() int Sub(u RFCTime) time.Duration Unix() int64 UnixMilli() int64 UnixMicro() int64 UnixNano() int64 Format(layout string) string GoString() string String() string }
type SecondsF64 ¶ added in v0.0.79
func NewSecondsF64 ¶ added in v0.0.79
func NewSecondsF64(t time.Duration) SecondsF64
func (SecondsF64) Duration ¶ added in v0.0.79
func (d SecondsF64) Duration() time.Duration
func (SecondsF64) Hours ¶ added in v0.0.79
func (d SecondsF64) Hours() float64
func (SecondsF64) MarshalJSON ¶ added in v0.0.79
func (d SecondsF64) MarshalJSON() ([]byte, error)
func (SecondsF64) Microseconds ¶ added in v0.0.79
func (d SecondsF64) Microseconds() int64
func (SecondsF64) Milliseconds ¶ added in v0.0.79
func (d SecondsF64) Milliseconds() int64
func (SecondsF64) Minutes ¶ added in v0.0.79
func (d SecondsF64) Minutes() float64
func (SecondsF64) Nanoseconds ¶ added in v0.0.79
func (d SecondsF64) Nanoseconds() int64
func (SecondsF64) Seconds ¶ added in v0.0.79
func (d SecondsF64) Seconds() float64
func (SecondsF64) String ¶ added in v0.0.79
func (d SecondsF64) String() string
func (*SecondsF64) UnmarshalJSON ¶ added in v0.0.79
func (d *SecondsF64) UnmarshalJSON(data []byte) error
type UnixMilliTime ¶
func NewUnixMilli ¶
func NewUnixMilli(t time.Time) UnixMilliTime
func NowUnixMilli ¶
func NowUnixMilli() UnixMilliTime
func (UnixMilliTime) Add ¶
func (t UnixMilliTime) Add(d time.Duration) UnixMilliTime
func (UnixMilliTime) AddDate ¶
func (t UnixMilliTime) AddDate(years int, months int, days int) UnixMilliTime
func (UnixMilliTime) After ¶
func (t UnixMilliTime) After(u RFCTime) bool
func (UnixMilliTime) Before ¶
func (t UnixMilliTime) Before(u RFCTime) bool
func (UnixMilliTime) Clock ¶
func (t UnixMilliTime) Clock() (hour, min, sec int)
func (UnixMilliTime) Day ¶
func (t UnixMilliTime) Day() int
func (UnixMilliTime) Equal ¶
func (t UnixMilliTime) Equal(u RFCTime) bool
func (UnixMilliTime) Format ¶
func (t UnixMilliTime) Format(layout string) string
func (UnixMilliTime) GoString ¶
func (t UnixMilliTime) GoString() string
func (*UnixMilliTime) GobDecode ¶
func (t *UnixMilliTime) GobDecode(data []byte) error
func (UnixMilliTime) GobEncode ¶
func (t UnixMilliTime) GobEncode() ([]byte, error)
func (UnixMilliTime) Hour ¶
func (t UnixMilliTime) Hour() int
func (UnixMilliTime) ISOWeek ¶
func (t UnixMilliTime) ISOWeek() (year, week int)
func (UnixMilliTime) IsZero ¶
func (t UnixMilliTime) IsZero() bool
func (UnixMilliTime) MarshalBinary ¶
func (t UnixMilliTime) MarshalBinary() ([]byte, error)
func (UnixMilliTime) MarshalJSON ¶
func (t UnixMilliTime) MarshalJSON() ([]byte, error)
func (UnixMilliTime) MarshalText ¶
func (t UnixMilliTime) MarshalText() ([]byte, error)
func (UnixMilliTime) Minute ¶
func (t UnixMilliTime) Minute() int
func (UnixMilliTime) Month ¶
func (t UnixMilliTime) Month() time.Month
func (UnixMilliTime) Nanosecond ¶
func (t UnixMilliTime) Nanosecond() int
func (UnixMilliTime) Second ¶
func (t UnixMilliTime) Second() int
func (UnixMilliTime) Serialize ¶
func (t UnixMilliTime) Serialize() string
func (UnixMilliTime) String ¶
func (t UnixMilliTime) String() string
func (UnixMilliTime) Time ¶
func (t UnixMilliTime) Time() time.Time
func (UnixMilliTime) Unix ¶
func (t UnixMilliTime) Unix() int64
func (UnixMilliTime) UnixMicro ¶
func (t UnixMilliTime) UnixMicro() int64
func (UnixMilliTime) UnixMilli ¶
func (t UnixMilliTime) UnixMilli() int64
func (UnixMilliTime) UnixNano ¶
func (t UnixMilliTime) UnixNano() int64
func (*UnixMilliTime) UnmarshalBinary ¶
func (t *UnixMilliTime) UnmarshalBinary(data []byte) error
func (*UnixMilliTime) UnmarshalJSON ¶
func (t *UnixMilliTime) UnmarshalJSON(data []byte) error
func (*UnixMilliTime) UnmarshalText ¶
func (t *UnixMilliTime) UnmarshalText(data []byte) error
func (UnixMilliTime) Weekday ¶
func (t UnixMilliTime) Weekday() time.Weekday
func (UnixMilliTime) Year ¶
func (t UnixMilliTime) Year() int
func (UnixMilliTime) YearDay ¶
func (t UnixMilliTime) YearDay() int
type UnixNanoTime ¶
func NewUnixNano ¶
func NewUnixNano(t time.Time) UnixNanoTime
func NowUnixNano ¶
func NowUnixNano() UnixNanoTime
func (UnixNanoTime) Add ¶
func (t UnixNanoTime) Add(d time.Duration) UnixNanoTime
func (UnixNanoTime) AddDate ¶
func (t UnixNanoTime) AddDate(years int, months int, days int) UnixNanoTime
func (UnixNanoTime) After ¶
func (t UnixNanoTime) After(u RFCTime) bool
func (UnixNanoTime) Before ¶
func (t UnixNanoTime) Before(u RFCTime) bool
func (UnixNanoTime) Clock ¶
func (t UnixNanoTime) Clock() (hour, min, sec int)
func (UnixNanoTime) Day ¶
func (t UnixNanoTime) Day() int
func (UnixNanoTime) Equal ¶
func (t UnixNanoTime) Equal(u RFCTime) bool
func (UnixNanoTime) Format ¶
func (t UnixNanoTime) Format(layout string) string
func (UnixNanoTime) GoString ¶
func (t UnixNanoTime) GoString() string
func (*UnixNanoTime) GobDecode ¶
func (t *UnixNanoTime) GobDecode(data []byte) error
func (UnixNanoTime) GobEncode ¶
func (t UnixNanoTime) GobEncode() ([]byte, error)
func (UnixNanoTime) Hour ¶
func (t UnixNanoTime) Hour() int
func (UnixNanoTime) ISOWeek ¶
func (t UnixNanoTime) ISOWeek() (year, week int)
func (UnixNanoTime) IsZero ¶
func (t UnixNanoTime) IsZero() bool
func (UnixNanoTime) MarshalBinary ¶
func (t UnixNanoTime) MarshalBinary() ([]byte, error)
func (UnixNanoTime) MarshalJSON ¶
func (t UnixNanoTime) MarshalJSON() ([]byte, error)
func (UnixNanoTime) MarshalText ¶
func (t UnixNanoTime) MarshalText() ([]byte, error)
func (UnixNanoTime) Minute ¶
func (t UnixNanoTime) Minute() int
func (UnixNanoTime) Month ¶
func (t UnixNanoTime) Month() time.Month
func (UnixNanoTime) Nanosecond ¶
func (t UnixNanoTime) Nanosecond() int
func (UnixNanoTime) Second ¶
func (t UnixNanoTime) Second() int
func (UnixNanoTime) Serialize ¶
func (t UnixNanoTime) Serialize() string
func (UnixNanoTime) String ¶
func (t UnixNanoTime) String() string
func (UnixNanoTime) Time ¶
func (t UnixNanoTime) Time() time.Time
func (UnixNanoTime) Unix ¶
func (t UnixNanoTime) Unix() int64
func (UnixNanoTime) UnixMicro ¶
func (t UnixNanoTime) UnixMicro() int64
func (UnixNanoTime) UnixMilli ¶
func (t UnixNanoTime) UnixMilli() int64
func (UnixNanoTime) UnixNano ¶
func (t UnixNanoTime) UnixNano() int64
func (*UnixNanoTime) UnmarshalBinary ¶
func (t *UnixNanoTime) UnmarshalBinary(data []byte) error
func (*UnixNanoTime) UnmarshalJSON ¶
func (t *UnixNanoTime) UnmarshalJSON(data []byte) error
func (*UnixNanoTime) UnmarshalText ¶
func (t *UnixNanoTime) UnmarshalText(data []byte) error
func (UnixNanoTime) Weekday ¶
func (t UnixNanoTime) Weekday() time.Weekday
func (UnixNanoTime) Year ¶
func (t UnixNanoTime) Year() int
func (UnixNanoTime) YearDay ¶
func (t UnixNanoTime) YearDay() int
type UnixTime ¶
func (UnixTime) MarshalBinary ¶
func (UnixTime) MarshalJSON ¶
func (UnixTime) MarshalText ¶
func (UnixTime) Nanosecond ¶
func (*UnixTime) UnmarshalBinary ¶
func (*UnixTime) UnmarshalJSON ¶
func (*UnixTime) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.