org.jopendocument.dom
Class FixTimeZone
java.lang.Object
org.jopendocument.dom.FixTimeZone
public class FixTimeZone
- extends Object
Remove the time zone part of dates (fix for LibO >= 4.1).
- Author:
- Sylvain
- See Also:
ODValueType.isTimeZoneIgnored()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixTimeZone
public FixTimeZone()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
removeTimeZone
public static void removeTimeZone(File f)
throws IOException,
ParseException
- Throws:
IOException
ParseException
fixMetaElem
protected static boolean fixMetaElem(org.jdom.Element dateElem)
throws ParseException
- Throws:
ParseException
fixDate
protected static String fixDate(String val)
throws ParseException
- Throws:
ParseException
Copyright © 2010 jOpenDocument All Rights Reserved.