| Constructor and Description |
|---|
ProfileDate() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
fromXMLDateAndTime(String date)
Transforms the input xs:dateAndTime representation in a
Date object |
static String |
toXMLDateAndTime(Date date)
Transforms the input
Date in a valid string representation for the xs:dateAndTime XML Schema data type |
public static String toXMLDateAndTime(Date date)
Date in a valid string representation for the xs:dateAndTime XML Schema data typepublic static Date fromXMLDateAndTime(String date) throws ParseException
Date objectdate - the string representation of xs:dateAndTime (e.g. " 2009-05-12T16:46:03+02:00 ")Date objectParseException - if the input date is not in an valid formatCopyright © 2020. All Rights Reserved.