org.jopendocument.dom
Class ODEpoch
java.lang.Object
extended by org.jopendocument.dom.ODEpoch
@Immutable
public final class ODEpoch
- extends Object
The null date of an OpenDocument.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDefaultEpoch
public static final ODEpoch getDefaultEpoch()
-
getInstance
public static final ODEpoch getInstance(String date)
throws ParseException
- Throws:
ParseException
getDateString
public final String getDateString()
-
getCalendar
public final Calendar getCalendar()
-
normalizeToDays
public final Duration normalizeToDays(Duration dur)
-
normalizeToHours
public final Duration normalizeToHours(Duration dur)
-
getDays
public final BigDecimal getDays(Duration duration)
-
getDays
public final BigDecimal getDays(Calendar cal)
-
getDate
public final Calendar getDate(BigDecimal days)
-
getDate
public final Calendar getDate(BigDecimal days,
Calendar res)
-
Copyright © 2010 jOpenDocument All Rights Reserved.