org.silverpeas.calendar
Class CalendarPeriod

java.lang.Object
  extended by org.silverpeas.calendar.CalendarPeriod

public class CalendarPeriod
extends Object

User: Yohann Chastagnier Date: 23/04/13


Method Summary
static CalendarPeriod from(Date referenceDate, PeriodType periodType, String locale)
           
static CalendarPeriod from(Period period, String locale)
           
 CalendarDateTime getBeginDate()
          Get the begin date of the period.
 CalendarDateTime getEndDate()
          Get the end date of the period.
 PeriodType getPeriodType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

from

public static CalendarPeriod from(Date referenceDate,
                                  PeriodType periodType,
                                  String locale)

from

public static CalendarPeriod from(Period period,
                                  String locale)

getPeriodType

public PeriodType getPeriodType()

getBeginDate

public CalendarDateTime getBeginDate()
Get the begin date of the period.

Returns:

getEndDate

public CalendarDateTime getEndDate()
Get the end date of the period.

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.