net.sf.statsvn.util
public final class XMLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Date |
offsetDateFromGMT(Date date)
This method converts from GMT to local timezone
|
static Date |
parseXsdDateTime(String sDateTime)
For some reason, can't find this utility method in the java framework.
|
static void |
writeXmlFile(Document doc,
String filename)
This method writes a DOM document to a file
|
public static Date parseXsdDateTime(String sDateTime) throws ParseException
sDateTime
- an xsd:dateTime stringParseException
public static Date offsetDateFromGMT(Date date)
date
- date in GMT timezone