public class DateTimeValidator extends Object
Constructor and Description |
---|
DateTimeValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(gov.nasa.pds.label.object.FieldType type,
String value)
Checks to see if the given datetime value matches its defined data type.
|
public static boolean isValid(gov.nasa.pds.label.object.FieldType type, String value) throws Exception
type
- The datetime type.value
- The value to check against.Exception
Copyright © 2010–2018 Planetary Data System. All rights reserved.