Package org.silverpeas.core.web.calendar
Class CalendarPeriod
- java.lang.Object
-
- org.silverpeas.core.web.calendar.CalendarPeriod
-
public class CalendarPeriod extends Object
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CalendarPeriod
from(Date referenceDate, PeriodType periodType, String locale)
static CalendarPeriod
from(Period period, String locale)
CalendarDateTime
getBeginDate()
CalendarDateTime
getEndDate()
PeriodType
getPeriodType()
-
-
-
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()
- Returns:
- the begin date of the period.
-
getEndDate
public CalendarDateTime getEndDate()
- Returns:
- the end date of the period.
-
-