Class TimeAmount
- java.lang.Object
-
- io.tech1.framework.domain.properties.base.TimeAmount
-
public class TimeAmount extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeAmount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)longgetAmount()TimeAmountgetTimeAmount()ChronoUnitgetUnit()inthashCode()static TimeAmountof(long amount, ChronoUnit unit)voidsetAmount(long amount)voidsetUnit(ChronoUnit unit)StringtoString()
-
-
-
Method Detail
-
of
public static TimeAmount of(long amount, ChronoUnit unit)
-
getTimeAmount
public TimeAmount getTimeAmount()
-
getAmount
public long getAmount()
-
getUnit
public ChronoUnit getUnit()
-
setAmount
public void setAmount(long amount)
-
setUnit
public void setUnit(ChronoUnit unit)
-
canEqual
protected boolean canEqual(Object other)
-
-