| Package | Description |
|---|---|
| app.pickmaven.businessdays | |
| app.pickmaven.businessdays.utils |
| Modifier and Type | Field and Description |
|---|---|
static Holiday |
Holiday.CHRISTMAS
The
app.pickmaven.businessdays.Holiday represented by Christmas day. |
static Holiday |
Holiday.EASTER
The
app.pickmaven.businessdays.Holiday represented by Easter. |
static Holiday |
Holiday.EASTER_MONDAY
The
app.pickmaven.businessdays.Holiday represented by Easter Monday. |
static Holiday |
Holiday.HOLIDAY_NOW
The
app.pickmaven.businessdays.Holiday represented by today. |
| Modifier and Type | Method and Description |
|---|---|
Holiday |
Holidays.get(int i)
Returns the
app.pickmaven.businessdays.Holiday at position i. |
static Holiday |
Holiday.getEasterMonday(int year)
Return an instance of
app.pickmaven.businessdays.Holiday from the Easter Monday date for the specified year. |
static Holiday |
Holiday.of(int year,
int month,
int day)
Return instance of
app.pickmaven.businessdays.Holiday from year, month and day. |
static Holiday |
Holiday.today()
Return instance of @code app.pickmaven.businessdays.Holiday} with the current date.
|
| Modifier and Type | Method and Description |
|---|---|
List<Holiday> |
Holidays.getHolidays()
Gets the list of
app.pickmaven.businessdays.Holiday. |
java.util.stream.Stream<Holiday> |
Holidays.stream() |
| Modifier and Type | Method and Description |
|---|---|
void |
Holidays.add(Holiday holiday)
Adds the
app.pickmaven.businessdays.Holiday to app.pickmaven.businessdays.Holidays |
boolean |
Holidays.contains(Holiday holiday)
Checks if
app.pickmaven.businessdays.Holidays contains app.pickmaven.businessdays.Holiday passed as parameter. |
boolean |
Holidays.remove(Holiday holiday)
Removes holiday from
app.pickmaven.businessdays.Holidays if exists |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Holidays.removeIf(java.util.function.Predicate<? super Holiday> filter)
This method removes all
app.pickmaven.businessdays.Holiday in app.pickmaven.businessdays.Holidays where the filter applies. |
| Modifier and Type | Method and Description |
|---|---|
static List<Holiday> |
HolidayUtils.toHolidayList(List<java.time.LocalDate> holidayList) |
static List<Holiday> |
HolidayUtils.toHolidayList(String dayMonthDelimiter,
String dateDelimiter,
String inputHolidayList) |
static List<Holiday> |
HolidayUtils.toHolidayListByMonthDay(List<java.time.MonthDay> holidayList) |
Copyright © 2020. All rights reserved.