public static class BusinessCalendar.Companion
Modifier and Type | Method and Description |
---|---|
java.util.List<java.time.LocalDate> |
createGenericSchedule(java.time.LocalDate startDate,
Frequency period,
BusinessCalendar calendar,
DateRollConvention dateRollConvention,
int noOfAdditionalPeriods,
java.time.LocalDate endDate,
java.lang.Integer periodOffset)
Calculates an event schedule that moves events around to ensure they fall on working days.
|
java.util.List<java.lang.String> |
getCalendars() |
BusinessCalendar |
getInstance(java.lang.String calname)
Returns a business calendar that combines all the named holiday calendars into one list of holiday dates.
|
java.time.LocalDate |
getOffsetDate(java.time.LocalDate startDate,
Frequency period,
int steps)
Calculates the date from @startDate moving forward @steps of time size @period. Does not apply calendar
logic / roll conventions.
|
java.util.Map<java.lang.String,java.lang.String> |
getTEST_CALENDAR_DATA() |
java.time.LocalDate |
parseDateFromString(java.lang.String it)
Parses a date of the form YYYY-MM-DD, like 2016-01-10 for 10th Jan.
|
public java.util.List<java.lang.String> getCalendars()
public java.util.Map<java.lang.String,java.lang.String> getTEST_CALENDAR_DATA()
public java.time.LocalDate parseDateFromString(java.lang.String it)
Parses a date of the form YYYY-MM-DD, like 2016-01-10 for 10th Jan.
public BusinessCalendar getInstance(java.lang.String calname)
Returns a business calendar that combines all the named holiday calendars into one list of holiday dates.
public java.util.List<java.time.LocalDate> createGenericSchedule(java.time.LocalDate startDate, Frequency period, BusinessCalendar calendar, DateRollConvention dateRollConvention, int noOfAdditionalPeriods, java.time.LocalDate endDate, java.lang.Integer periodOffset)
Calculates an event schedule that moves events around to ensure they fall on working days.
public java.time.LocalDate getOffsetDate(java.time.LocalDate startDate, Frequency period, int steps)
Calculates the date from @startDate moving forward @steps of time size @period. Does not apply calendar logic / roll conventions.