Documentation
¶
Index ¶
- func ByUnix(u int64) time.Time
- func DayPeriod(at int64, diff int) (int64, int64)
- func DaysToMilliseconds(days int) int64
- func HoursToMilliseconds(hours int) int64
- func IsToday(u int64) bool
- func LastDayByMonth(at int64) int
- func MinutesToMilliseconds(minutes int) int64
- func MonthPeriod(at int64, diff int) (int64, int64)
- func Now() time.Time
- func NowUnix() int64
- func SecondsToMilliseconds(seconds int) int64
- func ToUnix(t time.Time) int64
- func YearPeriod(at int64, diff int) (int64, int64)
- func ZoneJST() *time.Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DaysToMilliseconds ¶
DaysToMilliseconds ... 指定日数をミリ秒に変換する
func HoursToMilliseconds ¶
HoursToMilliseconds ... 指定時数をミリ秒に変換する
func MinutesToMilliseconds ¶
MinutesToMilliseconds ... 指定分数をミリ秒に変換する
func MonthPeriod ¶
MonthPeriod ... 月の範囲(1日0:00:00〜最終日23:59:59)を取得する
func SecondsToMilliseconds ¶
SecondsToMilliseconds ... 指定秒数をミリ秒に変換する
func YearPeriod ¶
YearPeriod ... 年の範囲(12月1日0:00:00〜12月31日23:59:59)を取得する
Types ¶
This section is empty.