Class AbstractEndOfCalendarPeriodProvider
- java.lang.Object
-
- org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
-
- org.alfresco.repo.dictionary.types.period.AbstractCalendarPeriodProvider
-
- org.alfresco.repo.dictionary.types.period.AbstractEndOfCalendarPeriodProvider
-
- All Implemented Interfaces:
PeriodProvider,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
EndOfMonth,EndOfQuarter,EndOfYear
public abstract class AbstractEndOfCalendarPeriodProvider extends AbstractCalendarPeriodProvider
Support for calendar based "end of" periods with month and day offsets for fiscal year support- Author:
- andyh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
PeriodProvider.ExpressionMutiplicity
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
MSG_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractEndOfCalendarPeriodProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStartDayOfMonth()Get the start day of the month (as defined by Calendar)intgetStartMonth()Get the start month (as defined by Calendar)voidsetStartDayOfMonth(int startDayOfMonth)Set the start day of the month (as defined by Calendar)voidsetStartMonth(int startMonth)Set the start month (as defined by Calendar)-
Methods inherited from class org.alfresco.repo.dictionary.types.period.AbstractCalendarPeriodProvider
add, getDefaultExpression, getExpressionDataType, getExpressionMutiplicity, getNextDate
-
Methods inherited from class org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
afterPropertiesSet, getDisplayLabel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
getPeriodType
-
-
-
-
Method Detail
-
getStartDayOfMonth
public int getStartDayOfMonth()
Get the start day of the month (as defined by Calendar)- Returns:
- - the start day of the month
-
setStartDayOfMonth
public void setStartDayOfMonth(int startDayOfMonth)
Set the start day of the month (as defined by Calendar)- Parameters:
startDayOfMonth- int
-
getStartMonth
public int getStartMonth()
Get the start month (as defined by Calendar)- Returns:
- - the start month
-
setStartMonth
public void setStartMonth(int startMonth)
Set the start month (as defined by Calendar)- Parameters:
startMonth- int
-
-