Module jonix.onix3

Class EventDate

java.lang.Object
com.tectonica.jonix.onix3.EventDate
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class EventDate extends Object implements OnixElement<String>, Serializable

Event date

The date of an event to which the product is related. Optional and non-repeating.

Format As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing. Note that the dateformat attribute allows exact dates to be supplied if necessary, including the cases where an event spreads over a range of dates or the date can only be supplied as a text string
Reference name <EventDate>
Short tag <x520>
Cardinality 0…1
Attributes dateformat
Example <EventDate dateformat="06">2015113020151215</EventDate> (30 November-15 December 2015)

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.03
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • dateformat

      public DateFormats dateformat
    • value

      public String value
      This is the raw content of EventDate. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing. Note that the dateformat attribute allows exact dates to be supplied if necessary, including the cases where an event spreads over a range of dates or the date can only be supplied as a text string

      (type: dt.NonEmptyString)

    • EMPTY

      public static final EventDate EMPTY
  • Constructor Details

    • EventDate

      public EventDate()
    • EventDate

      public EventDate(Element element)
  • Method Details