Trait

org.apache.daffodil.calendar

OrderedCalendar

Related Doc: package calendar

Permalink

trait OrderedCalendar extends AnyRef

Self Type
DFDLCalendar
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrderedCalendar
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. 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)
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped