org.jopendocument.dom.style.data
Class DateStyle
java.lang.Object
org.jopendocument.dom.ODNode
org.jopendocument.dom.Style
org.jopendocument.dom.style.data.DataStyle
org.jopendocument.dom.style.data.DateStyle
public class DateStyle
- extends DataStyle
Methods inherited from class org.jopendocument.dom.style.data.DataStyle |
addStringLiteral, canFormat, convert, formatNumberOrScientificNumber, formatNumberOrScientificNumber, getDataType, getDecimalPlaces, getDesc, getEpoch, getTextProperties, getTitle, registerDesc, reportError |
Methods inherited from class org.jopendocument.dom.Style |
checkElemName, dup, equals, getDesc, getFormattingProperties, getFormattingProperties, getFormattingProperties, getName, getNonNullStyleDesc, getNS, getPackage, getReferencedStyle, getReferencedStyleElement, getReferences, getSTYLE, getStyle, getStyleDesc, getStyleStyleDesc, hashCode, isReferencedAtMostOnce, isStandardStyleResolution, register, registerAllVersions, setStandardStyleResolution, warp |
DateStyle
public DateStyle(ODPackage pkg,
org.jdom.Element elem)
getLocale
public static final Locale getLocale(org.jdom.Element elem)
convertNonNull
protected Object convertNonNull(Object o)
- Specified by:
convertNonNull
in class DataStyle
format
public String format(Object o,
CellStyle defaultStyle,
boolean lenient)
- Specified by:
format
in class DataStyle
Copyright © 2010 jOpenDocument All Rights Reserved.