Period
Types
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
is Negative
Link copied to clipboard
Checks if any component of this period is negative.
minus
Link copied to clipboard
normalized
Link copied to clipboard
Normalizes the number of years and months such that "1 year, 15 months" becomes "2 years, 3 months". Only the months and years components are combined. Days are never adjusted.
plus
Link copied to clipboard
unary Minus
Link copied to clipboard
Reverses the sign of each component in the period.
Properties
Extensions
to Java Period
Link copied to clipboard
Converts this period to an equivalent Java Period.