Skip to content

Releases: gomodul/waktu

v0.0.1-alpha.4

24 Sep 20:33
49595b8
Compare
Choose a tag to compare
v0.0.1-alpha.4 Pre-release
Pre-release

Added

  • add layout MMDDHHMMSS
  • add layout MMDD

Changed

  • change layout ISO8601 format

v0.0.1-alpha.3

18 Aug 03:21
Compare
Choose a tag to compare
v0.0.1-alpha.3 Pre-release
Pre-release

Added

  • Add layout DEFAULT

v0.0.1-alpha.2

17 Aug 23:53
Compare
Choose a tag to compare
v0.0.1-alpha.2 Pre-release
Pre-release

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

12 Aug 03:31
fd1d896
Compare
Choose a tag to compare
v0.0.1-alpha.1 Pre-release
Pre-release

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

06 Aug 06:42
Compare
Choose a tag to compare
v0.0.1-alpha Pre-release
Pre-release

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