Skip to content

Tags: metatexx/avrox

Tags

v0.7.2

Toggle v0.7.2's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Updated external packages

v0.7.1

Toggle v0.7.1's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Added Equal()

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Changed the SQL serializer, New (Today) and added Before() and After()

- One can either use time.Time or string for Parse() (sql serialize)
- One can define the timezone that is used when reading from DB and
  using time.Timei (sql unserialize)
- One can define a "Zero" date conversion when using Parse() with
  string.
- One can define the format that is used with Parse() with string. This
  allows to use a format like "20060102" which is known to be safe for
  old MSSQL Servers that switch day and month when using "2006-01-02".
- The tests are also run against a sqllite3 in memory database to test
  many of the above cases.
- Changed "Now()" to "Today()"
- Added Before() and After() for readability.

v0.6.0

Toggle v0.6.0's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Added interface implementations for JSON/SQL and GoString

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add MonthStart/MonthEnd and NextWeekday/PreviousWeekday funcs (#2)

* Add MonthStart and MonthEnd funcs
* Add NextWeekday / PreviousWeekday funcs

+ `MonthEnd()`: Returns a new RawDate representing the last day of the month.
+ `MonthEnd()`: Returns a new RawDate representing the last day of the month.
+ `NextWeekday(weekday time.Weekday, orToday bool)`, the function returns the next date that falls on the specified weekday.
+ `PreviousWeekday(weekday time.Weekday, orToday bool)`, the function returns the previous date that falls on the specified weekday.

Both funcs retrun the current day if the 'orToday' parameter is set to true and the current day is the same as the specified weekday.

v0.4.2

Toggle v0.4.2's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Added "(RawDate).Now()"

v0.4.1

Toggle v0.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Fixed the BasicRawDate and some other code. Added Docs to RawDate

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Change to RawDate based on how we use it.

RawDate was changed to have the same property as time.Time with being
the date 1.1.1 when the structure gets not initialized. The internal
fields are still exported but have an added 0 to indicate that they are
not what one may expect and should generally not be used.

v0.3.3

Toggle v0.3.3's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Implemented `r.AddDate()` (like time.AddDate())

v0.3.2

Toggle v0.3.2's commit message

Verified

This commit was signed with the committer’s verified signature.
oderwat Hans Raaf
Added `r.IsZero()`