public class XMLDateTimeHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
XMLDateTimeHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.util.Date aDate)
This method is used to format a date into a string in UTC format.
|
static java.util.Date |
parse(java.lang.String aStr)
Parse a time string into a date type.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String format(java.util.Date aDate)
aDate
- a date type to be formattedpublic static java.util.Date parse(java.lang.String aStr)
aStr
- a string to be passed.