public interface TimestampFormat
Timestamp
,
ISO 8601,
ISO 8601 Date and
Time Formats in XML Schema Part 2: Datatypes Second EditionModifier and Type | Field and Description |
---|---|
static TimestampFormat |
ISO8601
Date format constant according to ISO 8601, i.e., YYYY-MM-DD.
|
static TimestampFormat |
ISO8601_BASIC_COMPLETE
Date format constant for 24 hour time including seconds and milliseconds
and appended time zone abbreviation.
|
static TimestampFormat |
ISO8601_BASIC_MINUTE
Date format constant for 24 hour time and appended time zone abbreviation.
|
static TimestampFormat |
ISO8601_BASIC_SECOND
Date format constant for 24 hour time including seconds and appended time zone abbreviation.
|
static TimestampFormat |
ISO8601_EXTENDED_COMPLETE
Date format constant for 24 hour time including seconds and milliseconds
and appended time zone abbreviation.
|
static TimestampFormat |
ISO8601_EXTENDED_MINUTE
Date format constant for 24 hour time and appended time zone
abbreviation.
|
static TimestampFormat |
ISO8601_EXTENDED_SECOND
Date format constant for 24 hour time including seconds and appended time zone abbreviation.
|
static TimestampFormat |
XSD_DATETIME
XML Schema (XSD) datetime format constant.
|
static final TimestampFormat ISO8601
static final TimestampFormat ISO8601_EXTENDED_MINUTE
static final TimestampFormat ISO8601_BASIC_MINUTE
static final TimestampFormat ISO8601_EXTENDED_SECOND
static final TimestampFormat ISO8601_BASIC_SECOND
static final TimestampFormat ISO8601_EXTENDED_COMPLETE
static final TimestampFormat ISO8601_BASIC_COMPLETE
static final TimestampFormat XSD_DATETIME
String format(Timestamp timestamp)
timestamp
- the timestamp to be formattedTimestamp parse(String string) throws TimestampParseException
string
- the timestamp to be parsedTimestampParseException
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.