An interface for date objects in the ISO-8601 calendar system.
A date is often viewed as triple of year-month-day values. This interface also defines access to other date fields such as day-of-year, day-of-week and week-of-year.
Inherited Attributes |
Attributes inherited from: Object hash, string |
Attributes inherited from: Enumerable<Other> integerValue |
Attributes inherited from: Ordinal<Other> predecessor, successor |
Attributes inherited from: ReadableDate |
Methods | |
at | Source Code Returns new DateTime value based on this date and a specified time. |
minus | Source Code Subtracts a specified period to this date. |
periodFrom | Source Code Returns the period between this and the given date. If this date is before the given date then return zero period. |
periodTo | Source Code Returns the period between this and the given date. If this date is after the given date then return zero period. |
plus | Source Code Adds a specified period to this date. |
rangeTo | Source Code |
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: Comparable<Other> compare |
Methods inherited from: DateBehavior<Element> |