Summary
This section describes the Primordium implementations of org.osid.calendaring.DateTime.
...
Code Block |
---|
/** * Gets an unknown date. * * @return an unknown date */ public static org.osid.calendaring.DateTime unknown() |
Serialization
toString() will produce the same ISO-like output that can be parsed by valueOf().
Comparison Methods
- isGreater(org.osid.calendaring.DateTime d)
- isLess(org.osid.calendaring.DateTime d)
- isInclusive(org.osid.calendaring.DateTime d)
isExclusive(org.osid.calendaring.DateTime d)
...
this | external DateTime | isGreater() | isLess() | isInclusive() | isExclusive() |
---|---|---|---|---|---|
2010-01-01 | 2011-01-01 | F | T | F | T |
2010 | 2010-06-06 | F | F | T | F |
2010-06-06 | 2010 | F | F | F | F |
2010-12-31 | 2010-12-30 | T | F | F | T |
Equality
Two DateTimes are equal if their calendar & time types, values within their respective granularities, and uncertainties are also equal.
...
DateTime is just a communication vehicle with some bells, whistles, and too many late nights. Convert it to whatever you want but (just keep in mind that the range on the thing is very very large and someone send you some DateTimes from the "big freeze" – it could happen).
See Also
DateTimeAnchor DateTime DateTime
osid.calendaring.DateTimeAnchor osid.calendaring.DateTime osid.calendaring.DateTime
osid.calendaring.DateTimeResolutionAnchor osid.calendaring.DateTimeResolution osid.calendaring.DateTimeResolution
...