- All Implemented Interfaces:
OnixElement<String>,OnixTag,Serializable
Message creation date/time
The date on which the message is sent. Optionally, the time may be added, using the 24-hour clock, with an explicit indication of the time zone if required, in a format based on ISO 8601. Mandatory and non-repeating.
| Format | Permitted formats, where 'T' and 'Z' represent themselves (ie the letters T and Z), and where the symbol '±' represents either '+' or '-' to indicate a timezone offset from UTC. YYYYMMDD Date only YYYYMMDDThhmm Date and time (local time of sender) YYYYMMDDThhmmZ Universal time (UTC) † YYYYMMDDThhmm±hhmm With time zone offset from UTC † YYYYMMDDThhmmss Date and time (with seconds) YYYYMMDDThhmmssZ Universal time (with seconds) YYYYMMDDThhmmss±hhmm With time zone offset from UTC (with seconds) † indicates the preferred formats |
| Reference name | <SentDateTime> |
| Short tag | <x307> |
| Cardinality | 1 |
| Example | <x307>20100522T1230Z</x307> (12.30pm UTC, 22 May 2010) |
| Notes | The calendar date must use the Gregorian calendar, even if other dates within the message use a different calendar. For all practical purposes, UTC is the same as GMT. |
- <
Header>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SentDateTimestatic final Stringstatic final String(type: dt.NonEmptyString)This is the raw content of SentDateTime. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<SentDateTime> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of SentDateTime. Could be null ifexists() == false. UseOnixElement.value()instead if you want to get this as anOptional.Raw Format: Permitted formats, where 'T' and 'Z' represent themselves (ie the letters T and Z), and where the symbol '±' represents either '+' or '-' to indicate a timezone offset from UTC. YYYYMMDD Date only YYYYMMDDThhmm Date and time (local time of sender) YYYYMMDDThhmmZ Universal time (UTC) † YYYYMMDDThhmm±hhmm With time zone offset from UTC † YYYYMMDDThhmmss Date and time (with seconds) YYYYMMDDThhmmssZ Universal time (with seconds) YYYYMMDDThhmmss±hhmm With time zone offset from UTC (with seconds) † indicates the preferred formats
(type: dt.DateOrDateTime)
-
EMPTY
-
-
Constructor Details
-
SentDateTime
public SentDateTime() -
SentDateTime
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-