Documentation ¶
Index ¶
- func FormatDuration(d time.Duration) string
- func FormatDurationDays(d time.Duration) string
- func FormatDurationMs(d time.Duration) string
- func FormatTime(t time.Time) string
- func TimezoneLocation(s string) (*time.Location, error)
- func WaitInterrupt() os.Signal
- type Time
- func (o Time) Days() (days, hours int)
- func (o Time) Format() string
- func (o Time) FormatDays() string
- func (o Time) FormatMs() string
- func (o *Time) SetDailyHours(h int)
- func (o *Time) SetMinutes(m int)
- func (o *Time) SetNow() *Time
- func (o *Time) SetSeconds(s int)
- func (o *Time) SetTime(t time.Time) *Time
- func (o Time) TotalMinutes() int
- func (o Time) TotalSeconds() int
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
func FormatDurationDays ¶
func FormatDurationMs ¶
func FormatTime ¶
func WaitInterrupt ¶
Types ¶
type Time ¶
func DurationToTime ¶
func (Time) FormatDays ¶
func (*Time) SetDailyHours ¶
func (*Time) SetMinutes ¶
func (*Time) SetSeconds ¶
func (Time) TotalMinutes ¶
func (Time) TotalSeconds ¶
Click to show internal directories.
Click to hide internal directories.