Module org.holiday.calendar.core
Package org.holiday.calendar.util
package org.holiday.calendar.util
Shared runtime utilities used by
Observance
implementations across the regional calendar modules.
CsvObservanceLoader loads
officially-gazetted holiday dates (moon-sighting-dependent Islamic holidays,
government-published Lunar New Year and Deepavali dates, etc.) from classpath
CSV resources of the form year,YYYY-MM-DD[,comment], since these
dates cannot be computed algorithmically for the full supported year range:
private static final Map<Integer, LocalDate> DATES =
CsvObservanceLoader.loadSingle(EidAlFitr.class, "eid-al-fitr.csv");
- Author:
- Dave Joyce
-
ClassesClassDescriptionUtility for loading observance date tables from classpath CSV resources.