Method Calendar.TimeRanges.TimeRange()->how_many()
- Method
`/
Method how_many
intres =Calendar.TimeRanges.TimeRange()/with
inthow_many(TimeRangewith)- Description
-
This calculates how many instances of the given timerange has passed during the called timerange.
For instance, to figure out your age, create the timerange of your lifespan, and divide with the instance of a
Year.