org.eel.kitchen.jsonschema.format
Class UnixEpochFormatSpecifier
java.lang.Object
org.eel.kitchen.jsonschema.format.FormatSpecifier
org.eel.kitchen.jsonschema.format.UnixEpochFormatSpecifier
public final class UnixEpochFormatSpecifier
- extends FormatSpecifier
Validator for the utc-millisec format specification
As an extra step, this validator also ensures that the number in the
instance is not negative, and does not overflow: Java's System.currentTimeMillis() may return a long, but internally the return
code is a signed 32-bit integer, therefore must not be greater than 2^31 -
1.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static FormatSpecifier getInstance()
Copyright © 2012. All Rights Reserved.