com.epam.fix.message.format
Enum FIXDateFormatterFactory.FIX_DATE_TYPE
java.lang.Object
java.lang.Enum<FIXDateFormatterFactory.FIX_DATE_TYPE>
com.epam.fix.message.format.FIXDateFormatterFactory.FIX_DATE_TYPE
- All Implemented Interfaces:
- Serializable, Comparable<FIXDateFormatterFactory.FIX_DATE_TYPE>
- Enclosing class:
- FIXDateFormatterFactory
public static enum FIXDateFormatterFactory.FIX_DATE_TYPE
- extends Enum<FIXDateFormatterFactory.FIX_DATE_TYPE>
Enum Constant Summary |
DATE_40
Date in YYYYMMDD format. |
LOCAL_MKT_DATE
Date of Local Market (vs. |
MONTH_YEAR_SHORT
Char field representing month of a year in YYYYMM format. |
MONTH_YEAR_WITH_DATE
String field representing month of a year in YYYYMMDD format. |
MONTH_YEAR_WITH_WEEK
String field representing month of a year in YYYYMMWW format. |
TIME_40
Time/date combination in YYYYMMDD-HH:MM:SS format, colons and dash required. |
TZ_TIME_ONLY_MILLIS
The time represented based on ISO 8601. |
TZ_TIME_ONLY_SEC
The time represented based on ISO 8601. |
TZ_TIME_ONLY_SHORT
The time represented based on ISO 8601. |
TZ_TIMESTAMP
The time/date combination representing local time with an offset to UTC to allow identification of local
time and timezone offset of that time. |
TZ_TIMESTAMP_MILLIS
The time/date combination representing local time with an offset to UTC to allow identification of local
time and timezone offset of that time. |
UTC_DATE
Date represented in UTC (Universal Time Coordinated, also known as "GMT") in YYYYMMDD format. |
UTC_DATE_ONLY
Date represented in UTC (Universal Time Coordinated, also known as "GMT") in YYYYMMDD format. |
UTC_TIME_ONLY_SHORT
Time-only represented in UTC (Universal Time Coordinated, also known as "GMT") in HH:MM:SS (whole seconds)
format, colons, and period required. |
UTC_TIME_ONLY_WITH_MILLIS
Time-only represented in UTC (Universal Time Coordinated, also known as "GMT") in HH:MM:SS.sss (milliseconds)
format, colons, and period required. |
UTC_TIMESTAMP_SHORT
Time/date combination represented in UTC (Universal Time Coordinated, also known as "GMT")
in YYYYMMDD-HH:MM:SS (whole seconds) format, colons, dash, and period required. |
UTC_TIMESTAMP_WITH_MILLIS
Time/date combination represented in UTC (Universal Time Coordinated, also known as "GMT") in
YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required. |
LOCAL_MKT_DATE
public static final FIXDateFormatterFactory.FIX_DATE_TYPE LOCAL_MKT_DATE
- Date of Local Market (vs. UTC) in YYYYMMDD format. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.
MONTH_YEAR_SHORT
public static final FIXDateFormatterFactory.FIX_DATE_TYPE MONTH_YEAR_SHORT
- Char field representing month of a year in YYYYMM format. Valid values: YYYY = 0000-9999, MM = 01-12.
MONTH_YEAR_WITH_DATE
public static final FIXDateFormatterFactory.FIX_DATE_TYPE MONTH_YEAR_WITH_DATE
- String field representing month of a year in YYYYMMDD format. Valid values: YYYY = 0000-9999, MM = 01-12,
DD = 01-31.
MONTH_YEAR_WITH_WEEK
public static final FIXDateFormatterFactory.FIX_DATE_TYPE MONTH_YEAR_WITH_WEEK
- String field representing month of a year in YYYYMMWW format. Valid values: YYYY = 0000-9999, MM = 01-12,
WW = w1, w2, w3, w4, w5.
DATE_40
public static final FIXDateFormatterFactory.FIX_DATE_TYPE DATE_40
- Date in YYYYMMDD format. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.
TIME_40
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TIME_40
- Time/date combination in YYYYMMDD-HH:MM:SS format, colons and dash required.
Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31, HH = 00-23, MM = 00-59, SS = 00-59.
UTC_DATE
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_DATE
- Date represented in UTC (Universal Time Coordinated, also known as "GMT") in YYYYMMDD format.
Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.
UTC_DATE_ONLY
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_DATE_ONLY
- Date represented in UTC (Universal Time Coordinated, also known as "GMT") in YYYYMMDD format. This
special-purpose field is paired with UTCTimeOnly to form a proper UTCTimestamp for bandwidth-sensitive
messages. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.
UTC_TIME_ONLY_SHORT
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_TIME_ONLY_SHORT
- Time-only represented in UTC (Universal Time Coordinated, also known as "GMT") in HH:MM:SS (whole seconds)
format, colons, and period required. Valid values: HH = 00-23, MM = 00-59, SS = 00-5960 (60 only if UTC
leap second) (without milliseconds).
UTC_TIME_ONLY_WITH_MILLIS
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_TIME_ONLY_WITH_MILLIS
- Time-only represented in UTC (Universal Time Coordinated, also known as "GMT") in HH:MM:SS.sss (milliseconds)
format, colons, and period required. Valid values: HH = 00-23, MM = 00-59, SS = 00-5960 (60 only if UTC leap
second), sss=000-999 (indicating milliseconds).
UTC_TIMESTAMP_SHORT
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_TIMESTAMP_SHORT
- Time/date combination represented in UTC (Universal Time Coordinated, also known as "GMT")
in YYYYMMDD-HH:MM:SS (whole seconds) format, colons, dash, and period required. Valid values:
YYYY = 0000-9999, MM = 01-12, DD = 01-31, HH = 00-23, MM = 00-59, SS = 00-5960 (60 only if UTC leap second)
(without milliseconds). Leap Seconds: Note that UTC includes corrections for leap seconds, which are
inserted to account for slowing of the rotation of the earth. Leap second insertion is declared by the
International Earth Rotation Service (IERS) and has, since 1972, only occurred on the night of Dec. 31
or Jun 30. The IERS considers March 31 and September 30 as secondary dates for leap second insertion,
but has never utilized these dates. During a leap second insertion, a UTCTimestamp field may read
"19981231-23:59:59", "19981231-23:59:60", "19990101-00:00:00". (see http://tycho.usno.navy.mil/leapsec.html )
UTC_TIMESTAMP_WITH_MILLIS
public static final FIXDateFormatterFactory.FIX_DATE_TYPE UTC_TIMESTAMP_WITH_MILLIS
- Time/date combination represented in UTC (Universal Time Coordinated, also known as "GMT") in
YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required. Valid values:
YYYY = 0000-9999, MM = 01-12, DD = 01-31, HH = 00-23, MM = 00-59, SS = 00-5960 (60 only if UTC leap second),
sss=000-999 (indicating milliseconds). Leap Seconds: Note that UTC includes corrections for leap seconds,
which are inserted to account for slowing of the rotation of the earth. Leap second insertion is declared
by the International Earth Rotation Service (IERS) and has, since 1972, only occurred on the night of
Dec. 31 or Jun 30. The IERS considers March 31 and September 30 as secondary dates for leap second
insertion, but has never utilized these dates. During a leap second insertion, a UTCTimestamp field may
read "19981231-23:59:59", "19981231-23:59:60", "19990101-00:00:00".
(see http://tycho.usno.navy.mil/leapsec.html )
TZ_TIME_ONLY_SHORT
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TZ_TIME_ONLY_SHORT
- The time represented based on ISO 8601. This is the time with a UTC offset to allow identification of local
time and timezone of that time. Format is HH:MM[Z | [ + | - hh[:mm]]] where HH = 00-23 hours,
MM = 00-59 minutes, hh = 01-12 offset hours, mm = 00-59 offset minutes.
Example: 07:39Z is 07:39 UTC
Example: 02:39-05 is five hours behind UTC, thus Eastern Time
Example: 15:39+08 is eight hours ahead of UTC, Hong Kong/Singapore time
Example: 13:09+05:30 is 5.5 hours ahead of UTC, India time
TZ_TIME_ONLY_SEC
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TZ_TIME_ONLY_SEC
- The time represented based on ISO 8601. This is the time with a UTC offset to allow identification of local
time and timezone of that time. Format is HH:MM:SS[Z | [ + | - hh[:mm]]] where HH = 00-23 hours,
MM = 00-59 minutes, SS = 00-59 seconds, sss = milliseconds, hh = 01-12 offset hours, mm = 00-59 offset
minutes.
Example: 07:39Z is 07:39 UTC
Example: 02:39-05 is five hours behind UTC, thus Eastern Time
Example: 15:39+08 is eight hours ahead of UTC, Hong Kong/Singapore time
Example: 13:09+05:30 is 5.5 hours ahead of UTC, India time
TZ_TIME_ONLY_MILLIS
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TZ_TIME_ONLY_MILLIS
- The time represented based on ISO 8601. This is the time with a UTC offset to allow identification of local
time and timezone of that time. Format is HH:MM:SS.sss[Z | [ + | - hh[:mm]]] where HH = 00-23 hours,
MM = 00-59 minutes, SS = 00-59 seconds, hh = 01-12 offset hours, mm = 00-59 offset minutes.
Example: 07:39Z is 07:39 UTC
Example: 02:39-05 is five hours behind UTC, thus Eastern Time
Example: 15:39+08 is eight hours ahead of UTC, Hong Kong/Singapore time
Example: 13:09+05:30 is 5.5 hours ahead of UTC, India time
TZ_TIMESTAMP
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TZ_TIMESTAMP
- The time/date combination representing local time with an offset to UTC to allow identification of local
time and timezone offset of that time. The representation is based on ISO 8601. Format is
YYYYMMDD-HH:MM:SS[Z | [ + | - hh[:mm]]] where YYYY = 0000 to 9999, MM = 01-12, DD = 01-31,
HH = 00-23 hours, MM = 00-59 minutes, SS = 00-59 seconds, hh = 01-12 offset hours, mm = 00-59 offset minutes
Example: 20060901-07:39Z is 07:39 UTC on 1st of September 2006
Example: 20060901-02:39-05 is five hours behind UTC, thus Eastern Time on 1st of September 2006
Example: 20060901-15:39+08 is eight hours ahead of UTC, Hong Kong/Singapore time on 1st of September 2006
Example: 20060901-13:09+05:30 is 5.5 hours ahead of UTC, India time on 1st of September 2006
TZ_TIMESTAMP_MILLIS
public static final FIXDateFormatterFactory.FIX_DATE_TYPE TZ_TIMESTAMP_MILLIS
- The time/date combination representing local time with an offset to UTC to allow identification of local
time and timezone offset of that time. The representation is based on ISO 8601. Format is
YYYYMMDD-HH:MM:SS.sss[Z | [ + | - hh[:mm]]] where YYYY = 0000 to 9999, MM = 01-12, DD = 01-31,
HH = 00-23 hours, MM = 00-59 minutes, SS = 00-59 seconds, sss = milliseconds, hh = 01-12 offset hours,
mm = 00-59 offset minutes
Example: 20060901-07:39Z is 07:39 UTC on 1st of September 2006
Example: 20060901-02:39-05 is five hours behind UTC, thus Eastern Time on 1st of September 2006
Example: 20060901-15:39+08 is eight hours ahead of UTC, Hong Kong/Singapore time on 1st of September 2006
Example: 20060901-13:09+05:30 is 5.5 hours ahead of UTC, India time on 1st of September 2006
values
public static FIXDateFormatterFactory.FIX_DATE_TYPE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FIXDateFormatterFactory.FIX_DATE_TYPE c : FIXDateFormatterFactory.FIX_DATE_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FIXDateFormatterFactory.FIX_DATE_TYPE valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.