Documentation ¶
Index ¶
- func Days(v interface{}) (d time.Duration)
- func Hours(v interface{}) (d time.Duration)
- func Minutes(v interface{}) (d time.Duration)
- func Seconds(v interface{}) (d time.Duration)
- type Day
- type Dayer
- type Durationer
- type Hour
- type Hourer
- type Minute
- type Minuter
- type Month
- type Monthday
- type Second
- type Seconder
- type Time
- type Weekdayer
- type Year
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Durationer ¶
Durationer An object that can be converted to a duration
type Seconder ¶
type Seconder interface {
Seconder() Second
}
Seconder Generate seconds, berween 0-59
type Time ¶
Time A strut representation of an instant, previse to the second
func NewZeroTime ¶
func NewZeroTime() (t *Time)
NewZeroTime Generate a new time, initialized to year 0, month 1, day 1, hour 0, minute 0, second 0
Click to show internal directories.
Click to hide internal directories.