javax.rad.type
Class DateType
java.lang.Object
javax.rad.type.AbstractType<T>
javax.rad.type.AbstractDateType<Date>
javax.rad.type.DateType
- All Implemented Interfaces:
- IType<Date>
public class DateType
- extends AbstractDateType<Date>
The DateType is a platform independent definition of date.
|
Constructor Summary |
DateType()
Constructs a new DateType. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateType
public DateType()
- Constructs a new
DateType.
getTypeClass
public Class<Date> getTypeClass()
- Returns the class used by this type.
- Returns:
- the class used by this type.
valueOf
public Date valueOf(Object pObject)
- Converts the object to an
Object which is an instance of type class.
- Specified by:
valueOf in interface IType<Date>- Overrides:
valueOf in class AbstractType<Date>
- Parameters:
pObject - the Object to convert
- Returns:
- the
Object which is an instance of type class.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.