org.threeten.bp.chrono

HijrahDate

object HijrahDate extends Serializable

Annotations
@SerialVersionUID( 5207853542612002020L )
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HijrahDate
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. val MAX_VALUE_OF_ERA: Int

    The maximum valid year-of-era.

    The maximum valid year-of-era. This is currently set to 9999 but may be changed to increase the valid range in a future version of the specification.

  7. val MIN_VALUE_OF_ERA: Int

    The minimum valid year-of-era.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def from(temporal: TemporalAccessor): HijrahDate

    Obtains a HijrahDate of the Islamic Umm Al-Qura calendar from a temporal object.

    Obtains a HijrahDate of the Islamic Umm Al-Qura calendar from a temporal object.

    This obtains a date in the Hijrah calendar system based on the specified temporal. A TemporalAccessor represents an arbitrary set of date and time information, which this factory converts to an instance of HijrahDate.

    The conversion typically uses the ChronoField#EPOCH_DAY EPOCH_DAY field, which is standardized across calendar systems.

    This method matches the signature of the functional interface TemporalQuery allowing it to be used as a query via method reference, HijrahDate::from.

    temporal

    the temporal object to convert, not null

    returns

    the date in Hijrah calendar system, not null

    Exceptions thrown
    DateTimeException

    if unable to convert to a { @code HijrahDate}

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

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

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

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

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def now(clock: Clock): HijrahDate

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar from the specified clock.

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar from the specified clock.

    This will query the specified clock to obtain the current date - today. Using this method allows the use of an alternate clock for testing. The alternate clock may be introduced using plain Clock dependency injection.

    clock

    the clock to use, not null

    returns

    the current date, not null

    Exceptions thrown
    DateTimeException

    if the current date cannot be obtained

  21. def now(zone: ZoneId): HijrahDate

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar in the specified time-zone.

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar in the specified time-zone.

    This will query the Clock#system(ZoneId) system clock to obtain the current date. Specifying the time-zone avoids dependence on the default time-zone.

    Using this method will prevent the ability to use an alternate clock for testing because the clock is hard-coded.

    zone

    the zone ID to use, not null

    returns

    the current date using the system clock, not null

  22. def now: HijrahDate

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar in the default time-zone.

    Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar in the default time-zone.

    This will query the Clock#systemDefaultZone() system clock in the default time-zone to obtain the current date.

    Using this method will prevent the ability to use an alternate clock for testing because the clock is hard-coded.

    returns

    the current date using the system clock and default time-zone, not null

  23. def of(prolepticYear: Int, monthOfYear: Int, dayOfMonth: Int): HijrahDate

    Obtains an instance of HijrahDate from the Hijrah era year, month-of-year and day-of-month.

    Obtains an instance of HijrahDate from the Hijrah era year, month-of-year and day-of-month. This uses the Hijrah era.

    prolepticYear

    the proleptic year to represent in the Hijrah

    monthOfYear

    the month-of-year to represent, from 1 to 12

    dayOfMonth

    the day-of-month to represent, from 1 to 30

    returns

    the Hijrah date, never null

    Exceptions thrown
    DateTimeException

    if the day-of-month is invalid for the month-year

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped