public interface Duration
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
addToDateTime(org.joda.time.DateTime dateTime) |
org.joda.time.LocalDate |
addToLocalDate(org.joda.time.LocalDate localDate) |
int |
getNumber() |
TimeUnit |
getUnit() |
org.joda.time.Period |
toJodaPeriod() |
TimeUnit getUnit()
TimeUnit
int getNumber()
org.joda.time.DateTime addToDateTime(org.joda.time.DateTime dateTime) throws CatalogApiException
dateTime
- the date to add to that durationDateTime
CatalogApiException
org.joda.time.LocalDate addToLocalDate(org.joda.time.LocalDate localDate) throws CatalogApiException
localDate
- the date to add to that durationLocalDate
CatalogApiException
org.joda.time.Period toJodaPeriod()
Copyright © 2010-2019. All Rights Reserved.