org.alfresco.repo.dictionary.types.period
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:
- org.alfresco.service.cmr.repository.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
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.PeriodProvider |
org.alfresco.service.cmr.repository.PeriodProvider.ExpressionMutiplicity |
Method Summary |
int |
getStartDayOfMonth()
Get the start day of the month (as defined by Calendar) |
int |
getStartMonth()
Get the start month (as defined by Calendar) |
void |
setStartDayOfMonth(int startDayOfMonth)
Set the start day of the month (as defined by Calendar) |
void |
setStartMonth(int startMonth)
Set the start month (as defined by Calendar) |
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 |
AbstractEndOfCalendarPeriodProvider
public AbstractEndOfCalendarPeriodProvider()
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
-
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
-
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.