Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Now = time.Now
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
GetCurrentTime() time.Time
SubstractTime(origin, deductor time.Time) time.Duration
AddTime(origin time.Time, adder time.Duration) time.Time
GetTimeInLocation(locationParam Location, timeParam time.Time) (time.Time, error)
GetFirstDayOfTheMonth(year int, month time.Month) time.Time
GetLastDayOfTheMonth(year int, month time.Month) time.Time
ConvertFromString(timeFormat, timeString string) (time.Time, error)
ConvertToString(timeFormat string, timeParam time.Time) string
}
Click to show internal directories.
Click to hide internal directories.