org.jopendocument.dom
Class FixTimeZone

java.lang.Object
  extended by 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()

Constructor Summary
FixTimeZone()
           
 
Method Summary
protected static String fixDate(String val)
           
protected static boolean fixMetaElem(org.jdom.Element dateElem)
           
static void main(String[] args)
           
static void removeTimeZone(File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixTimeZone

public FixTimeZone()
Method Detail

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.