jfun.jaskell.optionbeans
Class MakeDateFormat

java.lang.Object
  extended byjfun.jaskell.optionbeans.MakeDateFormat

public class MakeDateFormat
extends java.lang.Object

'jaskell.dates.date', 'jaskell.dates.dateformat', 'jaskell.dates.format' functions use this class to initialize the "options" parameter.

Zephyr Business Solution

Author:
Ben Yu

Constructor Summary
MakeDateFormat()
           
 
Method Summary
 java.util.Locale getLocale()
           
 java.lang.String getPattern()
           
 java.util.TimeZone getTimezone()
           
 boolean isLenient()
           
 void setLenient(boolean lenient)
           
 void setLocale(java.util.Locale locale)
           
 void setPattern(java.lang.String pattern)
           
 void setTimezone(java.util.TimeZone timezone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeDateFormat

public MakeDateFormat()
Method Detail

isLenient

public boolean isLenient()
Returns:
is the date format lenient? Default is false.

setLenient

public void setLenient(boolean lenient)

getLocale

public java.util.Locale getLocale()

setLocale

public void setLocale(java.util.Locale locale)

getPattern

public java.lang.String getPattern()

setPattern

public void setPattern(java.lang.String pattern)

getTimezone

public java.util.TimeZone getTimezone()

setTimezone

public void setTimezone(java.util.TimeZone timezone)