Releases: gomodul/waktu
Releases · gomodul/waktu
v0.0.1-alpha.4
Added
- add layout MMDDHHMMSS
- add layout MMDD
Changed
- change layout ISO8601 format
v0.0.1-alpha.3
Added
- Add layout DEFAULT
v0.0.1-alpha.2
Added
- Add func (t Time) EndOfDay() Time
- Add func (t Time) EndOfWeek(startWeek ...Weekday) Time
- Add func (t Time) EndOfMonth() Time
- Add func (t Time) EndOfYear() Time
- Add func (t Time) StartOfDay() Time
- Add func (t Time) StartOfWeek(startWeek ...Weekday) Time
- Add func (t Time) StartOfMonth() Time
- Add func (t Time) StartOfYear() Time
- Add func (t Time) ResetTimeLocal() Time
- Add func (t Time) GetDateUTC(format ...string) string
v0.0.1-alpha.1
Added
- Add func GetLocationByUTCOffset(offset int) *time.Location
- Add func (t *Time) GetDate(format ...string) string
- Add func (t *Time) SetHour(hour interface{}) Time
- Add func (t *Time) SetMinute(minute interface{}) Time
- Add func (t *Time) SetSecond(second interface{}) Time
- Add func (t *Time) SetNanosecond(nanosecond interface{}) Time
- Add func (t *Time) GetTime(format ...string) string
v0.0.1-alpha
Added
- Add func Now() Time
- Add func LastDay() Time
- Add func Parse(layout, value string) (Time, error)
- Add func Date(year int, month Month, day, hour, min, sec, nsec int, loc *time.Location) Time
- Add func (t Time) AddDate(years int, months int, days int) Time
- Add func (t Time) Add(d time.Duration) Time
- Add func (t *Time) ResetTime() Time
- Add func (t *Time) SetDate(date interface{}) Time
- Add func (t Time) In(loc *time.Location) Time
- Add func (t Time) LastDay() Time
- Add func (t Time) Month() Month
- Add func (t *Time) SetMonth(month int) Time
- Add func (m Month) String() string
- Add func (t Time) Weekday() Weekday
- Add func (d Weekday) String() string
- Add const Version