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, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public CSVHolidaysChecker()
public boolean isHoliday(Date date)
HolidaysChecker
isHoliday
in interface HolidaysChecker
date
- to checkprotected Reader getReader(String fileName, boolean isEmbedded) throws IOException
IOException
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
Copyright © 2019 Nuxeo. All rights reserved.