Minutes
is an immutable period that can only store minutes. It does not store years, months or hours for example. As such it is a type-safe way of representing a number of minutes in an application.
The number of minutes is set in the constructor, and may be queried using getMinutes()
. Basic mathematical operations are provided - plus()
, minus()
, multipliedBy()
and dividedBy()
.
Minutes
is thread-safe and immutable.
@author Stephen Colebourne
@since 1.4
|
|
|
|