Documentation ¶
Index ¶
- func FewDaysLater(day int) time.Time
- func FewDurationLater(duration time.Duration) time.Time
- func FewDurationLaterMillisecond(duration time.Duration) int64
- func InTimeSpan(start, end, check time.Time) bool
- func InTimeSpanNow(start, end time.Time) bool
- func IsExpired(expirationTime time.Time) bool
- func SixHoursLater() time.Time
- func TwentyFourHoursLater() time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FewDurationLater ¶
FewDurationLater : Give time now + some time duration
func FewDurationLaterMillisecond ¶
FewDurationLaterMillisecond : Give time now + some millisecond
func InTimeSpan ¶
InTimeSpan : check if time given is in the given time encapsulation
func InTimeSpanNow ¶
InTimeSpanNow : check if time now is in the given time encapsulation
func TwentyFourHoursLater ¶
TwentyFourHoursLater : Give time now + 24 hours
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.