|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.types.scalar.ScalarType<java.util.Date>
ecologylab.xml.types.scalar.DateType
public class DateType
Type system entry for Date.
| Field Summary |
|---|
| Fields inherited from class ecologylab.xml.types.scalar.ScalarType |
|---|
DEFAULT_DELIMS, DEFAULT_VALUE, DEFAULT_VALUE_STRING |
| Constructor Summary | |
|---|---|
DateType()
|
|
| Method Summary | |
|---|---|
java.util.Date |
getInstance(java.lang.String value)
If this is a reference type, build an appropriate Object, given a String
representation. |
| Methods inherited from class ecologylab.xml.types.scalar.ScalarType |
|---|
affordsInterestExpression, allowDelimitersInTokens, allowNewLines, appendValue, appendValue, appendValue, appendValue, composedOfTerms, defaultValue, defaultValueLength, defaultValueString, delimeters, getClassName, getTypeClass, illegalChars, isDefaultValue, isDefaultValue, isFloatingPoint, isPrimitive, isReference, marshall, needsEscaping, setField, setFieldError, toString |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateType()
| Method Detail |
|---|
public java.util.Date getInstance(java.lang.String value)
ScalarTypethis is a reference type, build an appropriate Object, given a String
representation. If it is a primitive type, return a boxed value.
getInstance in class ScalarType<java.util.Date>value - is interpreted as a SimpleDateFormat in the form EEE MMM dd kk:mm:ss zzz yyyy (for
example Wed Aug 02 13:12:50 CDT 2006); if that does not work, then attempts to use
the DateFormat for the current locale instead.ScalarType.getInstance(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||