Overview  Package  Class   Use  Tree  Deprecated  Index  Help 
PREV   NEXT FRAMES    NO FRAMES    All Classes

Uses of Class
org.alfresco.service.cmr.repository.datatype.Duration
Packages that use org.alfresco.service.cmr.repository.datatype.Duration
org.alfresco.service.cmr.repository.datatype
Uses of Duration in org.alfresco.service.cmr.repository.datatype
Fields in org.alfresco.service.cmr.repository.datatype declared as Duration
static Duration
Duration.DAY
           
static Duration
Duration.MONTH
           
static Duration
Duration.QUARTER
           
static Duration
Duration.SIX_MONTHS
           
static Duration
Duration.TWO_WEEKS
           
static Duration
Duration.WEEK
           
static Duration
Duration.YEAR
           
Methods in org.alfresco.service.cmr.repository.datatype that return Duration
Duration.add(Duration add)
          Add two durations together
Duration.divide(int d)
          Divide the duration - if year-month drops the day-second part of the duration
Duration.getDayToYear()
          Extract the day to sec part.
Duration.getYearToMonth()
          Extract the year to month part
Duration.subtract(Duration sub)
          Subtract one duration from another
Duration.unaryMinus()
          Negate the duration
Methods in org.alfresco.service.cmr.repository.datatype with parameters of type Duration
static Date
Duration.add(Date date, Duration duration)
          Add a duration to a date and return the date plus the specified increment.
Duration.add(Duration add)
          Add two durations together
static Date
Duration.subtract(Date date, Duration duration)
          Subtract a period for a given date
Duration.subtract(Duration sub)
          Subtract one duration from another

Overview  Package  Class   Use  Tree  Deprecated  Index  Help 
PREV   NEXT FRAMES    NO FRAMES    All Classes

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.