final class Period extends ChronoPeriod with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Period
- Serializable
- Serializable
- ChronoPeriod
- TemporalAmount
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addTo(temporal: Temporal): Temporal
- Definition Classes
- Period → ChronoPeriod → TemporalAmount
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Period → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(unit: TemporalUnit): Long
- Definition Classes
- Period → TemporalAmount
-
def
getChronology(): IsoChronology
- Definition Classes
- Period → ChronoPeriod
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDays(): Int
- def getMonths(): Int
-
def
getUnits(): List[TemporalUnit]
- Definition Classes
- Period → TemporalAmount
- def getYears(): Int
-
def
hashCode(): Int
- Definition Classes
- Period → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNegative(): Boolean
- Definition Classes
- Period → ChronoPeriod
-
def
isZero(): Boolean
- Definition Classes
- Period → ChronoPeriod
-
def
minus(amount: TemporalAmount): Period
- Definition Classes
- Period → ChronoPeriod
- def minusDays(daysToSubtract: Long): Period
- def minusMonths(monthsToSubtract: Long): Period
- def minusYears(yearsToSubtract: Long): Period
-
def
multipliedBy(scalar: Int): Period
- Definition Classes
- Period → ChronoPeriod
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negated(): Period
- Definition Classes
- Period → ChronoPeriod
-
def
normalized(): Period
- Definition Classes
- Period → ChronoPeriod
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
plus(amount: TemporalAmount): Period
- Definition Classes
- Period → ChronoPeriod
- def plusDays(daysToAdd: Long): Period
- def plusMonths(monthsToAdd: Long): Period
- def plusYears(yearsToAdd: Long): Period
-
def
subtractFrom(temporal: Temporal): Temporal
- Definition Classes
- Period → ChronoPeriod → TemporalAmount
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Period → AnyRef → Any
- def toTotalMonths(): Long
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withDays(days: Int): Period
- def withMonths(months: Int): Period
- def withYears(years: Int): Period