transform

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyUTCUnixtime

func ApplyUTCUnixtime(at int64, add int, f func(at time.Time, add int) time.Time) int64

func BeginOfTheDay

func BeginOfTheDay(at time.Time, add int) time.Time

`add` parameter is used adding/subbing day. Returned `Time`s' time is 00:00:00.000000000

func EndOfTheDay

func EndOfTheDay(at time.Time, add int) time.Time

`add` parameter is used adding/subbing day. Returned `Time`s' time is 23:59:59.999999999

func FirstDayOfTheMonth

func FirstDayOfTheMonth(at time.Time, add int) time.Time

`add` parameter is used adding/subbing day. Returned `Time`s' time is 00:00:00.000000000

func FirstDayOfTheYear

func FirstDayOfTheYear(at time.Time, add int) time.Time

`add` parameter is used adding/subbing year. Returned `Time`s' time is 00:00:00.000000000

func LastDayOfTheMonth

func LastDayOfTheMonth(at time.Time, add int) time.Time

`add` parameter is used adding/subbing day. Returned `Time`s' time is 23:59:59.999999999

func LastDayOfTheYear

func LastDayOfTheYear(at time.Time, add int) time.Time

`add` parameter is used adding/subbing year. Returned `Time`s' time is 23:59:59.999999999

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL