implicit final class PeriodType extends AnyVal
Provides extension methods to java.time.Period
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PeriodType
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PeriodType(period: Period)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
*(n: Int): Period
Gets duration after multiplication.
Gets duration after multiplication.
- n
number by which period is multiplied
-
def
+(amount: Period): Period
Gets period with specified amount added.
Gets period with specified amount added.
- amount
period to add
-
def
-(amount: Period): Period
Gets period with specified amount subtracted.
Gets period with specified amount subtracted.
- amount
period to subtract
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val period: Period
-
def
toString(): String
- Definition Classes
- Any
-
def
unary_-: Period
Gets negated period.