Skip navigation links
A B C E F G H I N O P R S T W 

A

aBusinessDay() - Static method in class app.pickmaven.businessdays.BusinessDay.Builder
 
activateLogResponse() - Method in class app.pickmaven.businessdays.api.GoogleCalendarAPI
Sets the response logging to true.
activateLogResponse() - Method in class app.pickmaven.businessdays.api.PublicHolidayAPI
Sets logging response to true.
add(Holiday) - Method in class app.pickmaven.businessdays.Holidays
Adds the app.pickmaven.businessdays.Holiday to app.pickmaven.businessdays.Holidays
addAll(Holidays) - Method in class app.pickmaven.businessdays.Holidays
Adds all app.pickmaven.businessdays.Holiday of holidays to this.
app.pickmaven.businessdays - package app.pickmaven.businessdays
 
app.pickmaven.businessdays.api - package app.pickmaven.businessdays.api
 
app.pickmaven.businessdays.utils - package app.pickmaven.businessdays.utils
 
applyPredicate(Predicate<? super Event>) - Method in class app.pickmaven.businessdays.api.GoogleCalendarAPI
Apply the {@code Predicate
applyPredicate(Predicate<? super JsonObject>) - Method in class app.pickmaven.businessdays.api.PublicHolidayAPI
Call this method for apply a {@code Predicate
applyToYears(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets years to apply holidays for computing next business day.
asDate() - Method in class app.pickmaven.businessdays.BusinessDay
 
asDateTimeDuration(String...) - Method in class app.pickmaven.businessdays.BusinessDay
Prints the duration between current date and the next business day as a string in format 'PnDTnHnMnS'.
asDuration(String...) - Method in class app.pickmaven.businessdays.BusinessDay
Prints the Duration between current date and the next business day.
asLinkedList() - Method in class app.pickmaven.businessdays.Holidays
Sets the internal implementation of list of holidas as LinkedList.
asLocalDate() - Method in class app.pickmaven.businessdays.BusinessDay
 
asLong(int...) - Method in class app.pickmaven.businessdays.BusinessDay
Return next business day as long value given hours, minutes and seconds to add.
asPeriod() - Method in class app.pickmaven.businessdays.BusinessDay
 
asString(DateTimeFormatter) - Method in class app.pickmaven.businessdays.BusinessDay
Outputs the date as string given a DateTimeFormatte.
asString(String) - Method in class app.pickmaven.businessdays.BusinessDay
Outputs the date as string given a string formatter.
aTemporalRange() - Static method in class app.pickmaven.businessdays.TemporalRange.Builder
Creates an instance of the Builder

B

build() - Method in class app.pickmaven.businessdays.BusinessDay.Builder
 
build() - Method in class app.pickmaven.businessdays.TemporalRange.Builder
It returns the instance of app.pickmaven.businessdays.TemporalRange object.
Builder() - Constructor for class app.pickmaven.businessdays.BusinessDay.Builder
Constructor.
Builder() - Constructor for class app.pickmaven.businessdays.TemporalRange.Builder
Constructor.
BusinessDay - Class in app.pickmaven.businessdays
This class is responsible for computing the next business day.
BusinessDay.Builder - Class in app.pickmaven.businessdays
Public builder for creating instances of app.pickmaven.businessdays.BusinessDay objects.

C

checkYearsOrMonths(List<Integer>, LocalDate) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Checks if year of starting date is among years(4 digits) and if month of starting date is among months(2 digits) in yearsOrMonths_forBusinessSaturday list; if list is empty it returns true.
checkYearsOrMonthsValidity(Integer[]) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Checks that integers in yearsOrMonths are 4-digit or 2-digit; otherwise throw assertion.
checkYearsValidity(Integer[]) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Checks that integers in years are 4-digit; otherwise throw assertion.
CHRISTMAS - Static variable in class app.pickmaven.businessdays.Holiday
The app.pickmaven.businessdays.Holiday represented by Christmas day.
computingChristmas() - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Adds the Christmas as app.pickmaven.businessdays.Holiday if is not already present in app.pickmaven.businessdays.Holidays.
computingEaster() - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Adds the Easter as app.pickmaven.businessdays.Holiday if is not already present in app.pickmaven.businessdays.Holidays.
computingEasterMonday() - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Adds the Easter Monday as app.pickmaven.businessdays.Holiday if is not already present in app.pickmaven.businessdays.Holidays.
contains(Holiday) - Method in class app.pickmaven.businessdays.Holidays
Checks if app.pickmaven.businessdays.Holidays contains app.pickmaven.businessdays.Holiday passed as parameter.
containsAll(Holidays) - Method in class app.pickmaven.businessdays.Holidays
Checks if this app.pickmaven.businessdays.Holidays contains all elements of the app.pickmaven.businessdays.Holidays object passed in as parameter.

E

EASTER - Static variable in class app.pickmaven.businessdays.Holiday
The app.pickmaven.businessdays.Holiday represented by Easter.
EASTER_MONDAY - Static variable in class app.pickmaven.businessdays.Holiday
The app.pickmaven.businessdays.Holiday represented by Easter Monday.
equals(Object) - Method in class app.pickmaven.businessdays.Holiday
Check if this holiday date is equal to another holiday date.
equals(Object) - Method in class app.pickmaven.businessdays.TemporalRange
Checks if two app.pickmaven.businessdays.TemporalRange objects are equal.

F

from(LocalDate) - Method in class app.pickmaven.businessdays.TemporalRange.Builder
Sets the starting date of app.pickmaven.businessdays.TemporalRange from LocalDate object.
from(String, String) - Method in class app.pickmaven.businessdays.TemporalRange.Builder
Sets the starting date of app.pickmaven.businessdays.TemporalRange from a String date and a String pattern.
fromStartingDate(LocalDate) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets the starting day for computing the next business day.

G

get(int) - Method in class app.pickmaven.businessdays.Holidays
Returns the app.pickmaven.businessdays.Holiday at position i.
getAsString(int, DateTimeFormatter) - Method in class app.pickmaven.businessdays.Holidays
Returns the date as string of app.pickmaven.businessdays.Holiday at position i, given a formatter pattern.
getDate() - Method in class app.pickmaven.businessdays.Holiday
Gets the holiday date.
getDay() - Method in class app.pickmaven.businessdays.Holiday
Gets the day of holiday.
getEaster(int) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Get Easter LocalDate for specific year.
getEasterMonday(int) - Static method in class app.pickmaven.businessdays.Holiday
Return an instance of app.pickmaven.businessdays.Holiday from the Easter Monday date for the specified year.
getEasterMonday(int) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Get Easter Monday LocalDate for specific year.
getEndingDate() - Method in class app.pickmaven.businessdays.TemporalRange
Gets the ending date of app.pickmaven.businessdays.TemporalRange
getHolidays(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay
Gets the app.pickmaven.businessdays.Holidays object; this method gives you the possibility to filter the holidays based on years you pass as integers.
getHolidays() - Method in class app.pickmaven.businessdays.Holidays
Gets the list of app.pickmaven.businessdays.Holiday.
getHolidaysForTemporalRange(TemporalRange) - Method in class app.pickmaven.businessdays.BusinessDay
Gets the app.pickmaven.businessdays.Holidays object filtered based temporal range you pass as parameter.
getHolidaysFromNow(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay
Gets the app.pickmaven.businessdays.Holidays object starting from current date; this method gives you the possibility to filter the holidays based on years you pass as integers.
getHolidaysFromStartingDate(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay
Gets the app.pickmaven.businessdays.Holidays object starting from starting date; this method gives you the possibility to filter the holidays based on years you pass as integers.
getMonth() - Method in class app.pickmaven.businessdays.Holiday
Gets the month of holiday.
getStartingDate() - Method in class app.pickmaven.businessdays.TemporalRange
Gets the starting date of app.pickmaven.businessdays.TemporalRange
getYear() - Method in class app.pickmaven.businessdays.Holiday
Gets the year of holiday.
givenHolidays(Holidays) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets the app.pickmaven.businessdays.Holidays object in the app.pickmaven.businessdays.BusinessDay object.
GoogleCalendarAPI - Class in app.pickmaven.businessdays.api
This class implements app.pickmaven.businessdays.api.HolidaySearcher interface for getting a list of LocalDate objects representing the holidays for specific countries using the app.pickmaven.businessdays.api.GoogleCalendarAPI of Google.
GoogleCalendarAPI(String) - Constructor for class app.pickmaven.businessdays.api.GoogleCalendarAPI
Constructor.

H

hashCode() - Method in class app.pickmaven.businessdays.Holiday
A hash code for this holiday date.
hashCode() - Method in class app.pickmaven.businessdays.TemporalRange
Computes the hashcode
Holiday - Class in app.pickmaven.businessdays
The base unit to refer to the holiday date.
Holiday(LocalDate) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a LocalDate object.
Holiday(String, DateTimeFormatter) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a String object representing the date and a DateTimeFormatter.
Holiday(String, String) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a String object representing the date and a String representing the formatter pattern.
Holiday(String, SimpleDateFormat) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a String object representing the date and a SimpleDateFormat object.
Holiday(Date) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a Date object.
Holiday(MonthDay) - Constructor for class app.pickmaven.businessdays.Holiday
Create an holiday from a MonthDay object assuming the year as the current one.
HOLIDAY_NOW - Static variable in class app.pickmaven.businessdays.Holiday
The app.pickmaven.businessdays.Holiday represented by today.
holidayOnWeekDays(DayOfWeek...) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets weekdays as holiday.
holidayOnWeekDays(TemporalRange, DayOfWeek...) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets weekdays as holiday, applied to specific temporal range.
Holidays - Class in app.pickmaven.businessdays
The collection object storing reference to the app.pickmaven.businessdays.Holiday objects.
Holidays() - Constructor for class app.pickmaven.businessdays.Holidays
Constructor
Holidays(Holidays) - Constructor for class app.pickmaven.businessdays.Holidays
Constructor from app.pickmaven.businessdays.Holidays
Holidays(List<LocalDate>) - Constructor for class app.pickmaven.businessdays.Holidays
Constructor from a list of LocalDate
Holidays(String, String...) - Constructor for class app.pickmaven.businessdays.Holidays
Constructor from an array of months and days and a delimiter.
Holidays(String, String, String) - Constructor for class app.pickmaven.businessdays.Holidays
Constructor from list of holiday, given a date delimiter and a day-month delimiter.
HolidaySearcher - Interface in app.pickmaven.businessdays.api
This functional interface provides a single method for searching holidays based on country.
HolidayUtils - Class in app.pickmaven.businessdays.utils
Utility class for computing holidays and convert dates.
HolidayUtils() - Constructor for class app.pickmaven.businessdays.utils.HolidayUtils
 

I

includes(TemporalRange) - Method in class app.pickmaven.businessdays.TemporalRange
Checks if this temporal range includes the parameter range.
includes(LocalDate) - Method in class app.pickmaven.businessdays.TemporalRange
Checks if this temporal range includes the parameter date.
isInRange(LocalDate, TemporalRange) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Checks if LocalDate date is included in TemporalRange range.

N

nextBusinessDay() - Method in class app.pickmaven.businessdays.BusinessDay
Computes the next business day based on certain conditions.
nextBusinessDay(int) - Method in class app.pickmaven.businessdays.BusinessDay
Computes the next business day based on certain conditions adding a specific number of workdays.

O

of(int, int, int) - Static method in class app.pickmaven.businessdays.Holiday
Return instance of app.pickmaven.businessdays.Holiday from year, month and day.

P

printDuration(Duration) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Prints the Duration diff in format: P_DT_H_M_S
PUBLIC_HOLIDAY_P_RAPIDAPI_COM - Static variable in class app.pickmaven.businessdays.api.PublicHolidayAPI
Base endpoint for calling the Rapid Api of Public app.pickmaven.businessdays.Holiday.
PublicHolidayAPI - Class in app.pickmaven.businessdays.api
This class implements app.pickmaven.businessdays.api.HolidaySearcher interface for getting a list of LocalDate objects representing the holidays for specific countries using the app.pickmaven.businessdays.api.PublicHolidayAPI of RapidAPI.
PublicHolidayAPI(String) - Constructor for class app.pickmaven.businessdays.api.PublicHolidayAPI
Constructor In order to get an api key from RapidApi you have to log in to your Developer Dashboard and create a new App; then just grab the api key and pass it in the constructor.

R

remove(Holiday) - Method in class app.pickmaven.businessdays.Holidays
Removes holiday from app.pickmaven.businessdays.Holidays if exists
removeIf(Predicate<? super Holiday>) - Method in class app.pickmaven.businessdays.Holidays
This method removes all app.pickmaven.businessdays.Holiday in app.pickmaven.businessdays.Holidays where the filter applies.

S

searchHolidaysFor(String) - Method in class app.pickmaven.businessdays.api.GoogleCalendarAPI
Returns a list of LocalDate objects representing the holidays for a specific country.
searchHolidaysFor(String) - Method in interface app.pickmaven.businessdays.api.HolidaySearcher
 
searchHolidaysFor(String) - Method in class app.pickmaven.businessdays.api.PublicHolidayAPI
Returns a list of LocalDate representing the holidays for a specific country.
searchHolidaysFor(String, int) - Method in class app.pickmaven.businessdays.api.PublicHolidayAPI
Returns a list of LocalDate representing the holidays for a specific country and for specific year.
size() - Method in class app.pickmaven.businessdays.Holidays
 
stream() - Method in class app.pickmaven.businessdays.Holidays
 

T

TemporalRange - Class in app.pickmaven.businessdays
The base unit to refer to a temporal range between two LocalDate objects.
TemporalRange.Builder - Class in app.pickmaven.businessdays
Public builder for creating instances of app.pickmaven.businessdays.TemporalRange objects.
to(LocalDate) - Method in class app.pickmaven.businessdays.TemporalRange.Builder
Sets the ending date of app.pickmaven.businessdays.TemporalRange from LocalDate object.
to(String, String) - Method in class app.pickmaven.businessdays.TemporalRange.Builder
Sets the ending date of app.pickmaven.businessdays.TemporalRange from a String date and a String pattern.
today() - Static method in class app.pickmaven.businessdays.Holiday
Return instance of @code app.pickmaven.businessdays.Holiday} with the current date.
toHolidayList(List<LocalDate>) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
 
toHolidayList(String, String, String) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
 
toHolidayListByMonthDay(List<MonthDay>) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
 
toHours(Duration) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Gets number of remaining hours element from a Duration object.
toMinutes(Duration) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Gets number of remaining minutes element from a Duration object.
toSeconds(Duration) - Static method in class app.pickmaven.businessdays.utils.HolidayUtils
Gets number of remaining seconds element from a Duration object.
toString() - Method in class app.pickmaven.businessdays.Holiday
Outputs the holiday date as date.
toString() - Method in class app.pickmaven.businessdays.TemporalRange
Outputs the temporal range from starting date to ending one.

W

withBusinessSaturday(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets saturday as business day for years or months passed as parameter; if no years or months are passed in it sets to true.
withBusinessSaturday(TemporalRange) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets saturday as business day for the app.pickmaven.businessdays.TemporalRange passed as parameter.
withBusinessSunday(Integer...) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets sunday as business day for years or months passed as parameter; if no years or months are passed in it sets to true.
withBusinessSunday(TemporalRange) - Method in class app.pickmaven.businessdays.BusinessDay.Builder
Sets sunday as business day for the app.pickmaven.businessdays.TemporalRange passed as parameter.
A B C E F G H I N O P R S T W 
Skip navigation links

Copyright © 2020. All rights reserved.