Documentation ¶
Index ¶
- type Month
- type UTCTime
- func (t UTCTime) Add(d gotime.Duration) UTCTime
- func (t UTCTime) Day() int
- func (t UTCTime) Hour() int
- func (t UTCTime) MarshalJSON() ([]byte, error)
- func (t UTCTime) Minute() int
- func (t UTCTime) Month() Month
- func (t UTCTime) Second() int
- func (t UTCTime) String() string
- func (t UTCTime) UnixNano() int64
- func (t *UTCTime) UnmarshalJSON(data []byte) error
- func (t UTCTime) Year() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Month ¶ added in v1.0.2
type Month int
A Month specifies a month of the year (January = 1, ...).
type UTCTime ¶
type UTCTime struct {
// contains filtered or unexported fields
}
UTCTime is a wrapper of Golang time.Time in UTC
func FromUnixNano ¶
func (UTCTime) MarshalJSON ¶
func (*UTCTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.