|
Primavera Integration API 6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.common.value.spread.SpreadBucketDates
public class SpreadBucketDates
Constructor Summary | |
---|---|
SpreadBucketDates(int weekStart)
Create spread period dates. |
Method Summary | |
---|---|
Object |
clone()
|
Date |
getBucketEnd(Date date,
int bucketType)
Trim the given date to the bucket end time |
Date |
getBucketStart(Date date,
int bucketType)
Trim the given date to the bucket start time |
Date |
getNextBucketStart(Date date,
int bucketType)
Gets the next bucket time by a given date |
Date |
getPreviousBucketStart(Date date,
int bucketType)
Gets the previous bucket time by a given date |
int |
getWeekStart()
|
void |
setFinancialPeriodDates(List<FinancialPeriodDates> finPeriods)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpreadBucketDates(int weekStart)
weekStart
- the week start date specified in admin preferencesMethod Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void setFinancialPeriodDates(List<FinancialPeriodDates> finPeriods)
public int getWeekStart()
public Date getBucketStart(Date date, int bucketType)
date
- any given datebucketType
- the spread bucket type
public Date getBucketEnd(Date date, int bucketType)
date
- any given datebucketType
- the spread bucket type
public Date getPreviousBucketStart(Date date, int bucketType)
date
- any given datebucketType
- the spread bucket type
public Date getNextBucketStart(Date date, int bucketType)
date
- any given datebucketType
- the spread bucket type
|
Primavera Integration API 6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |