public class MXODMModelDateConverter
extends java.lang.Object
Constructor and Description |
---|
MXODMModelDateConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convertDateToString(java.util.Date date,
java.util.Locale locale) |
static java.lang.String |
convertDateToTimeString(java.util.Date date,
java.util.Locale locale) |
static java.util.Date |
convertStringToDate(java.lang.String dateString,
java.util.Locale locale) |
static java.util.Date |
convertStringToDateTZ(java.lang.String dateString,
java.util.Locale locale,
java.util.TimeZone tz) |
static void |
main(java.lang.String[] args) |
public static java.lang.String convertDateToString(java.util.Date date, java.util.Locale locale)
public static java.lang.String convertDateToTimeString(java.util.Date date, java.util.Locale locale)
public static java.util.Date convertStringToDate(java.lang.String dateString, java.util.Locale locale) throws java.text.ParseException
java.text.ParseException
public static java.util.Date convertStringToDateTZ(java.lang.String dateString, java.util.Locale locale, java.util.TimeZone tz) throws java.text.ParseException
java.text.ParseException
public static void main(java.lang.String[] args)