Constructor and Description |
---|
DateCycleUtils() |
Modifier and Type | Method and Description |
---|---|
static Date |
getCycleEndDate(DateCycle dateCycle) |
static Date |
getCycleStartDate(DateCycle dateCycle)
Start date of a Cycle based on current date.
If DateCycle.getDayOfMonth() is null, then it defaults to 1st |
static Date |
getCycleStartDate(DateCycle dateCycle,
int N)
Start date of a Cycle based on current date and numberOfCyclesAhead
|
public static Date getCycleStartDate(DateCycle dateCycle)
DateCycle.getDayOfMonth()
is null, then it defaults to 1stdate
- public static Date getCycleStartDate(DateCycle dateCycle, int N)
date
- N
- as int for numberOfCyclesAhead. 0 means current, 1 means next cycle etc.Copyright © 2018. All rights reserved.