Uses of Class
org.silverpeas.core.util.time.Duration
-
Packages that use Duration Package Description org.silverpeas.core.date Provides the classes and the interface to manage dates and times in a more efficient way for Silverpeas.org.silverpeas.core.date.period org.silverpeas.core.io.media Provides classes to handle media files (video, images, documents, ...)org.silverpeas.core.util Provides miscellaneous utility classes. -
-
Uses of Duration in org.silverpeas.core.date
Methods in org.silverpeas.core.date that return Duration Modifier and Type Method Description Duration
AbstractDateTemporal. getTimeDataTo(T anotherDatable)
Deprecated.Duration
Temporal. getTimeDataTo(T anotherDatable)
Deprecated.Compute the time between the temporal instance and another one. -
Uses of Duration in org.silverpeas.core.date.period
Methods in org.silverpeas.core.date.period that return Duration Modifier and Type Method Description Duration
Period. getCoveredDaysTimeData()
Deprecated.Computes the number of whole or partial days covered by the period.Duration
Period. getElapsedTimeData()
Deprecated.Computes the elapsed time between the begin and the end dates. -
Uses of Duration in org.silverpeas.core.io.media
Methods in org.silverpeas.core.io.media that return Duration Modifier and Type Method Description Duration
MetaData. getDuration()
Gets the duration of the media related by this metadata. -
Uses of Duration in org.silverpeas.core.util
Methods in org.silverpeas.core.util that return Duration Modifier and Type Method Description static Duration
UnitUtil. getDuration(long time)
Get the time datastatic Duration
UnitUtil. getDuration(long time, TimeUnit from)
Get the time datastatic Duration
UnitUtil. getDuration(BigDecimal time)
Get the time datastatic Duration
UnitUtil. getDuration(BigDecimal time, TimeUnit from)
Get the time dataMethods in org.silverpeas.core.util with parameters of type Duration Modifier and Type Method Description static BigDecimal
UnitUtil. convertAndRoundTo(Duration duration, TimeUnit to)
-