package
Version:
v0.11.5
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Date is wrapper class of time.Time.
DateFrom returns Date instance from date string
NewDate returns Date instance from time.Time.
Today returns Date instance in today.
After return true if left is not equal right and left > right.
Aftere return true if left is not equal right and left < right.
Equal return true if left equals right in year/month/day.
MarshalJSON implements the json.Marshaler interface.
Stringer with YYYY-MM-DD format.
UnmarshalJSON implements the json.UnmarshalJSON interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.