|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.utility.TimescaleUtility
public final class TimescaleUtility
This class contains methods related to creation of timescale data.
| Constructor Summary | |
|---|---|
TimescaleUtility()
|
|
| Method Summary | |
|---|---|
ArrayList<DateRange> |
createTimescale(Date startDate,
TimescaleUnits segmentUnit,
int segmentCount)
Given a start date, a timescale unit, and a number of segments, this method creates an array of date ranges. |
int |
getWeekStartDay()
Retrieves the day on which the week starts. |
void |
setWeekStartDay(int weekStartDay)
Set the day on which the week starts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimescaleUtility()
| Method Detail |
|---|
public final ArrayList<DateRange> createTimescale(Date startDate,
TimescaleUnits segmentUnit,
int segmentCount)
startDate - start datesegmentUnit - units to be represented by each segment (column)segmentCount - number of segments (columns) required
public void setWeekStartDay(int weekStartDay)
weekStartDay - week start daypublic int getWeekStartDay()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||