Class DateTimeFunctions
java.lang.Object
ch.tocco.nice2.templating.spi.freemarker.bean.DateTimeFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic Function
<org.joda.time.DateTime, org.joda.time.Period> durationUntil
(DateTimeBean endDate) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusDays
(int days) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusHours
(int hours) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusMinutes
(int minutes) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusMonths
(int months) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusSeconds
(int seconds) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusWeeks
(int weeks) static Function
<org.joda.time.DateTime, org.joda.time.DateTime> plusYears
(int years) static Function
<org.joda.time.DateTime, org.joda.time.LocalDate>
-
Method Details
-
plusSeconds
-
plusMinutes
-
plusHours
-
plusDays
-
plusWeeks
-
plusMonths
-
plusYears
-
toLocalDate
-
durationUntil
public static Function<org.joda.time.DateTime,org.joda.time.Period> durationUntil(DateTimeBean endDate)
-