Class

org.apache.daffodil.calendar

DFDLCalendar

Related Doc: package calendar

Permalink

abstract class DFDLCalendar extends OrderedCalendar with Serializable

Linear Supertypes
Serializable, Serializable, OrderedCalendar, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DFDLCalendar
  2. Serializable
  3. Serializable
  4. OrderedCalendar
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DFDLCalendar(containsTZ: Boolean)

    Permalink

Abstract Value Members

  1. abstract def calendar: Calendar

    Permalink
  2. abstract def tlFormatter: ThreadLocal[SimpleDateFormat]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final val dateFormat: String

    Permalink
  7. final val dateFormatNoTZ: String

    Permalink
  8. final val dateTimeFormat: String

    Permalink
  9. final val dateTimeFormatNoTZ: String

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. lazy val fields: ArraySeq[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    OrderedCalendar
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getCalendar(): Calendar

    Permalink

    Returns the ICU Calendar object.

    Returns the ICU Calendar object.

    We represent 'No time zone' by TimeZone.UNKNOWN_ZONE

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getField(fieldIndex: Int): Int

    Permalink
  17. def getTimeZoneString: String

    Permalink

    Returns the TimeZone in the format of "+00:00"

  18. def hasTimeZone: Boolean

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isFieldSet(fieldIndex: Int): Boolean

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def order(p: DFDLDateTime, q: DFDLDateTime): DFDLCalendarOrder

    Permalink

    From Section 3.2.7.4 of http://www.w3.org/TR/xmlschema-2/#dateTime

    From Section 3.2.7.4 of http://www.w3.org/TR/xmlschema-2/#dateTime

    1. Normalize P and Q. That is, if there is a timezone present, but it is not Z, convert it to Z using the addition operation defined in: http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes

    Thus 2000-03-04T23:00:00+03:00 normalizes to 2000-03-04T20:00:00Z

    B. If P and Q either both have a time zone or both do not have a time zone, compare P and Q field by field from the year field down to the second field, and return a result as soon as it can be determined. That is:

    1. For each i in {year, month, day, hour, minute, second}
      1. If P[i] and Q[i] are both not specified, continue to the next i b. If P[i] is not specified and Q[i] is, or vice versa, stop and return P <> Q c. If P[i] < Q[i], stop and return P < Q d. If P[i] > Q[i], stop and return P > Q 2. Stop and return P = Q

    C. Otherwise, if P contains a time zone and Q does not, compare as follows:

    1. P < Q if P < (Q with time zone +14:00) 2. P > Q if P > (Q with time zone -14:00) 3. P <> Q otherwise, that is, if (Q with time zone +14:00) < P < (Q with time zone -14:00)

    D. Otherwise, if P does not contain a time zone and Q does, compare as follows:

    1. P < Q if (P with time zone -14:00) < Q. 2. P > Q if (P with time zone +14:00) > Q. 3. P <> Q otherwise, that is, if (P with time zone +14:00) < Q < (P with time zone -14:00)
    Definition Classes
    OrderedCalendar
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final val timeFormat: String

    Permalink
  28. final val timeFormatNoTZ: String

    Permalink
  29. final def toJBigDecimal: BigDecimal

    Permalink
  30. def toString(): String

    Permalink
    Definition Classes
    DFDLCalendar → AnyRef → Any
  31. final val tzFormat: String

    Permalink
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from OrderedCalendar

Inherited from AnyRef

Inherited from Any

Ungrouped