public interface IDateTime
extends java.io.Serializable
Common interface for classes used to store a date/time epoch. All implementations must be immutable.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Check if this date is equal to the specified date
|
double |
getAsDouble()
Get this date as julian time.
|
int |
getTimeZoneOffset()
Get the time zone offset associated to this date
|
boolean |
isAfter(IDateTime other)
Check if this date is after the specified date
|
boolean |
isAfterOrEqual(IDateTime other)
Check if this date is after or equal to the specified date
|
boolean |
isBefore(IDateTime other)
Check if this date is before the specified date
|
boolean |
isBeforeOrEqual(IDateTime other)
Check if this date is before or equal to the specified date
|
boolean |
isNegativeInfinity() |
boolean |
isNow() |
boolean |
isPositiveInfinity() |
int getTimeZoneOffset()
double getAsDouble()
boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- boolean isBefore(IDateTime other)
other
- boolean isBeforeOrEqual(IDateTime other)
other
- boolean isAfter(IDateTime other)
other
- boolean isAfterOrEqual(IDateTime other)
other
- boolean isPositiveInfinity()
boolean isNegativeInfinity()
boolean isNow()