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