public class DateUtils extends Object
Constructor and Description |
---|
DateUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
format(Date input)
Use the simple date formatter to convert the Date into a String
|
static String |
getDateFormatMask()
Check for the system property override, if it exists
|
static Date |
getRightDate(Object object2,
DateFormats dateFormats)
Converts the right hand side date as appropriate
|
static Date |
parseDate(String input) |
static Date |
parseDate(String input,
DateFormats dateFormats)
Use the simple date formatter to read the date from a string
|
public static Date parseDate(String input, DateFormats dateFormats)
public static String format(Date input)
public static Date getRightDate(Object object2, DateFormats dateFormats)
public static String getDateFormatMask()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.