-
-
Constructor Summary
Constructors
-
Method Summary
int
Returns the magnitude of this duration.
Returns the unit of this duration.
-
Field Details
-
amount
protected final int amount
-
-
-
Method Details
-
getAmount
public int getAmount()
Returns the magnitude of this duration.
- Returns:
- the amount
-
getUnit
Returns the unit of this duration.
- Returns:
- the unit
-