Package org.drools.core.util
Class DateUtils
- java.lang.Object
-
- org.drools.core.util.DateUtils
-
public class DateUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringformat(Date input)Use the simple date formatter to convert the Date into a Stringstatic StringgetDateFormatMask()Check for the system property override, if it existsstatic DategetRightDate(Object object2)Converts the right hand side date as appropriatestatic DateparseDate(String input)Use the simple date formatter to read the date from a string
-
-
-
Method Detail
-
parseDate
public static Date parseDate(String input)
Use the simple date formatter to read the date from a string
-
format
public static String format(Date input)
Use the simple date formatter to convert the Date into a String
-
getRightDate
public static Date getRightDate(Object object2)
Converts the right hand side date as appropriate
-
getDateFormatMask
public static String getDateFormatMask()
Check for the system property override, if it exists
-
-