public class CSVHolidaysChecker extends DefaultComponent implements HolidaysChecker
lastModified, name| Constructor and Description |
|---|
CSVHolidaysChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected Reader |
getReader(String fileName,
boolean isEmbedded) |
boolean |
isHoliday(Date date)
Check if this day is an holiday.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic CSVHolidaysChecker()
public boolean isHoliday(Date date)
HolidaysCheckerisHoliday in interface HolidaysCheckerdate - to checkprotected Reader getReader(String fileName, boolean isEmbedded) throws IOException
IOExceptionpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentCopyright © 2019 Nuxeo. All rights reserved.