org.ojalgo.type.context
Class DateContext

java.lang.Object
  extended by org.ojalgo.type.context.TypeContext<Date>
      extended by org.ojalgo.type.context.DateContext
All Implemented Interfaces:
Serializable

public final class DateContext
extends TypeContext<Date>

DateContext

Author:
apete
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ojalgo.type.context.TypeContext
NBSP
 
Constructor Summary
DateContext(DatePart aPart)
           
DateContext(DatePart aPart, DateStyle aStyle, Locale aLocale)
           
 
Method Summary
 Date enforce(Date anObject)
           
 DatePart getPart()
           
 DateStyle getStyle()
           
 void setFormat(DatePart aPart, DateStyle aStyle, Locale aLocale)
           
 
Methods inherited from class org.ojalgo.type.context.TypeContext
equals, formatString, getFormat, hashCode, parseAndEnforce, parseObject, setFormat
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateContext

public DateContext(DatePart aPart)

DateContext

public DateContext(DatePart aPart,
                   DateStyle aStyle,
                   Locale aLocale)
Method Detail

enforce

public Date enforce(Date anObject)
Specified by:
enforce in class TypeContext<Date>

getPart

public final DatePart getPart()

getStyle

public final DateStyle getStyle()

setFormat

public final void setFormat(DatePart aPart,
                            DateStyle aStyle,
                            Locale aLocale)