Classes
Methods
getCycleAt(date)
Gets the cycle index nearest to the given date.
Parameters:
| Name | Type | Description |
|---|---|---|
date |
The date to locate |
Returns:
The (possibly fractional) number of cycles since the epoch
getOccurrence(n)
Gets the nth occurrence relative to the epoch.
Parameters:
| Name | Type | Description |
|---|---|---|
n |
Cycle index; 0 is the epoch itself, negatives run backwards |
Returns:
The occurrence date