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()
TimeUnitint getNumber()
org.joda.time.DateTime addToDateTime(org.joda.time.DateTime dateTime)
throws CatalogApiException
dateTime - the date to add to that durationDateTimeCatalogApiExceptionorg.joda.time.LocalDate addToLocalDate(org.joda.time.LocalDate localDate)
throws CatalogApiException
localDate - the date to add to that durationLocalDateCatalogApiExceptionorg.joda.time.Period toJodaPeriod()
Copyright © 2010-2019. All Rights Reserved.