public final class TimescaleUtility extends Object
| Constructor and Description |
|---|
TimescaleUtility() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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) requiredpublic void setWeekStartDay(int weekStartDay)
weekStartDay - week start daypublic int getWeekStartDay()
Copyright © 2013. All Rights Reserved.