gov.nasa.pds.tools.dict.type
Class DateChecker
java.lang.Object
gov.nasa.pds.tools.dict.type.LengthChecker
gov.nasa.pds.tools.dict.type.DateChecker
- All Implemented Interfaces:
- TypeChecker
public class DateChecker
- extends LengthChecker
- implements TypeChecker
- Version:
- $Revision: 4967 $
- Author:
- pramirez, jagander
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateChecker
public DateChecker()
cast
public Object cast(String value,
AttributeStatement attribute)
throws InvalidTypeException
- Description copied from interface:
TypeChecker
- Tries to cast the value to the appropriate type and return the value
- Specified by:
cast
in interface TypeChecker
- Parameters:
value
- which must be cast
- Returns:
- value after it has been cast
- Throws:
InvalidTypeException
- thrown when value can not be cast
Copyright © 2005-2011 Planetary Data System. All Rights Reserved.