Documentation ¶
Index ¶
- func ApplyUTCUnixtime(at int64, add int, f func(at time.Time, add int) time.Time) int64
- func BeginOfTheDay(at time.Time, add int) time.Time
- func EndOfTheDay(at time.Time, add int) time.Time
- func FirstDayOfTheMonth(at time.Time, add int) time.Time
- func FirstDayOfTheYear(at time.Time, add int) time.Time
- func LastDayOfTheMonth(at time.Time, add int) time.Time
- func LastDayOfTheYear(at time.Time, add int) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyUTCUnixtime ¶
func BeginOfTheDay ¶
`add` parameter is used adding/subbing day. Returned `Time`s' time is 00:00:00.000000000
func EndOfTheDay ¶
`add` parameter is used adding/subbing day. Returned `Time`s' time is 23:59:59.999999999
func FirstDayOfTheMonth ¶
`add` parameter is used adding/subbing day. Returned `Time`s' time is 00:00:00.000000000
func FirstDayOfTheYear ¶
`add` parameter is used adding/subbing year. Returned `Time`s' time is 00:00:00.000000000
func LastDayOfTheMonth ¶
`add` parameter is used adding/subbing day. Returned `Time`s' time is 23:59:59.999999999
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.