public interface TimeStampFormat extends Cloneable
Modifier and Type | Field and Description |
---|---|
static TimeStampFormat |
iso8601
The string must be a date-time string in ISO-8601 format, with the following
extra restrictions:
The string must include separators, even though ISO-8601 says
separators may be omitted in some cases.
|
Modifier and Type | Method and Description |
---|---|
String |
format(BigDecimal posixSeconds) |
BigDecimal |
parse(String string) |
static final TimeStampFormat iso8601
BigDecimal parse(String string) throws TimeStampParseException
TimeStampParseException
- if the string cannot be parsed according to this formatString format(BigDecimal posixSeconds)
Copyright © 2016 Metron, Inc.. All rights reserved.