Class/Object

org.sisioh.baseunits.scala.time

CalendarDateTime

Related Docs: object CalendarDateTime | package time

Permalink

class CalendarDateTime extends Ordered[CalendarDateTime] with Serializable

カレンダー上の特定の「年月日時分」を表すクラス。

java.util.Dateと異なり、分未満(秒以下)の概念を持っていない。また、 TimePointと異なり、 その分1分間全ての範囲を表すクラスであり、特定の瞬間をモデリングしたものではない。

Linear Supertypes
Serializable, Serializable, Ordered[CalendarDateTime], Comparable[CalendarDateTime], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CalendarDateTime
  2. Serializable
  3. Serializable
  4. Ordered
  5. Comparable
  6. AnyRef
  7. 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. def <(that: CalendarDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: CalendarDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: CalendarDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: CalendarDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asTimePoint(zoneId: ZoneId = ZoneIds.Default): TimePoint

    Permalink

    指定したゾーンIDにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    指定したゾーンIDにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    zoneId

    ZoneId

    returns

    TimePoint

  10. def asZonedDateTime(zoneId: ZoneId = ZoneIds.Default): ZonedDateTime

    Permalink

    デフォルトのゾーンIDにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    デフォルトのゾーンIDにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    returns

    TimePoint

  11. val breachEncapsulationOfDate: CalendarDate

    Permalink

    このオブジェクトのdateフィールド(年月日)を返す。

    このオブジェクトのdateフィールド(年月日)を返す。

    CAUTION: このメソッドは、このオブジェクトがカプセル化する要素を外部に暴露する。取り扱いには充分注意のこと。

    returns

    年月日

  12. val breachEncapsulationOfTime: TimeOfDay

    Permalink

    このオブジェクトのtimeフィールド(時分)を返す。

    このオブジェクトのtimeフィールド(時分)を返す。

    CAUTION: このメソッドは、このオブジェクトがカプセル化する要素を外部に暴露する。取り扱いには充分注意のこと。

    returns

    時分

  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def compare(other: CalendarDateTime): Int

    Permalink
    Definition Classes
    CalendarDateTime → Ordered
  15. def compareTo(that: CalendarDateTime): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    CalendarDateTime → AnyRef → Any
  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    CalendarDateTime → AnyRef → Any
  21. def isAfter(other: CalendarDateTime): Boolean

    Permalink

    指定した年月日時分 other が、このオブジェクトが表現する年月日時分よりも過去であるかどうかを検証する。

    指定した年月日時分 other が、このオブジェクトが表現する年月日時分よりも過去であるかどうかを検証する。

    お互いが同一日時である場合は false を返す。

    other

    対象年月日時分

    returns

    過去である場合はtrue、そうでない場合はfalse

  22. def isBefore(other: CalendarDateTime): Boolean

    Permalink

    指定した年月日時分 other が、このオブジェクトが表現する年月日時分よりも未来であるかどうかを検証する。

    指定した年月日時分 other が、このオブジェクトが表現する年月日時分よりも未来であるかどうかを検証する。

    お互いが同一日時である場合は false を返す。

    other

    対象年月日時分

    returns

    未来である場合はtrue、そうでない場合はfalse

  23. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(pattern: String, zoneId: ZoneId = ZoneIds.Default): String

    Permalink

    この年月日時分を、指定したパターンで整形し、その文字列表現を取得する。

    この年月日時分を、指定したパターンで整形し、その文字列表現を取得する。

    pattern

    java.text.SimpleDateFormatに基づくパターン

    zoneId

    ゾーンID

    returns

    整形済み時間文字列

  29. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def asTimePoint(timeZone: TimeZone): TimePoint

    Permalink

    指定したタイムゾーンにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    指定したタイムゾーンにおける、このインスタンスが表す「年月日時分」の0秒0ミリ秒の瞬間について TimePoint 型のインスタンスを返す。

    timeZone

    タイムゾーン

    returns

    TimePoint

    Annotations
    @deprecated
    Deprecated

    (Since version 0.1.18) Use asTimePoint(zoneId: ZoneId) method instead

  2. def toString(pattern: String, timeZone: TimeZone): String

    Permalink

    この年月日時分を、指定したパターンで整形し、その文字列表現を取得する。

    この年月日時分を、指定したパターンで整形し、その文字列表現を取得する。

    pattern

    java.text.SimpleDateFormatに基づくパターン

    timeZone

    タイムゾーン

    returns

    整形済み時間文字列

    Annotations
    @deprecated
    Deprecated

    (Since version 0.1.18) Use toString(pattern: String, zoneId: ZoneId) method instead

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[CalendarDateTime]

Inherited from Comparable[CalendarDateTime]

Inherited from AnyRef

Inherited from Any

Ungrouped