org.drools.core.util
Class DateUtils

java.lang.Object
  extended by org.drools.core.util.DateUtils

public class DateUtils
extends Object


Constructor Summary
DateUtils()
           
 
Method Summary
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, DateFormats dateFormats)
          Use the simple date formatter to read the date from a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateUtils

public DateUtils()
Method Detail

parseDate

public static Date parseDate(String input,
                             DateFormats dateFormats)
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,
                                DateFormats dateFormats)
Converts the right hand side date as appropriate


getDateFormatMask

public static String getDateFormatMask()
Check for the system property override, if it exists



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.