Class DurationBean
java.lang.Object
ch.tocco.nice2.templating.spi.freemarker.bean.AbstractNullableBean<org.joda.time.Period>
ch.tocco.nice2.templating.spi.freemarker.bean.DurationBean
- All Implemented Interfaces:
NullableBean
-
Field Summary
Fields inherited from class ch.tocco.nice2.templating.spi.freemarker.bean.AbstractNullableBean
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
getHours()
int
int
minus
(DurationBean other) plus
(DurationBean other) plusHours
(int hours) plusMinutes
(int minutes) plusSeconds
(int seconds) print()
setDuration
(long duration) toString()
Methods inherited from class ch.tocco.nice2.templating.spi.freemarker.bean.AbstractNullableBean
getDelegate, isNull, or, strict
-
Constructor Details
-
DurationBean
-
DurationBean
public DurationBean(org.joda.time.Period period)
-
-
Method Details