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
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 -
Method Summary
Modifier and TypeMethodDescriptionintGet the start day of the month (as defined by Calendar)intGet 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, getNextDateMethods inherited from class org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
afterPropertiesSet, getDisplayLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
getPeriodType
-
Constructor Details
-
AbstractEndOfCalendarPeriodProvider
public AbstractEndOfCalendarPeriodProvider()
-
-
Method Details
-
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
-