| Package | Description |
|---|---|
| com.github.agogs.holidayapi.api | |
| com.github.agogs.holidayapi.api.impl | |
| com.github.agogs.holidayapi.model |
| Modifier and Type | Method and Description |
|---|---|
HolidayAPIResponse |
APIConsumer.getHolidays(QueryParams queryParams)
Call the holidays api and send back the response encapsulatd in a
HolidayAPIResponse object |
String |
APIConsumer.getHolidaysAsString(QueryParams queryParams)
Call the holidays api and send back the response as a json string
|
| Modifier and Type | Method and Description |
|---|---|
HolidayAPIResponse |
HolidayAPIConsumer.getHolidays(QueryParams queryParams)
Call the holidays api and send back the response encapsulatd in a
HolidayAPIResponse object. |
String |
HolidayAPIConsumer.getHolidaysAsString(QueryParams queryParams)
Call the holidays api and send back the response as a json string
|
| Modifier and Type | Method and Description |
|---|---|
QueryParams |
QueryParams.country(QueryParams.Country country) |
QueryParams |
QueryParams.day(int day) |
QueryParams |
QueryParams.format(QueryParams.Format format) |
QueryParams |
QueryParams.isPublic(boolean isPublic) |
QueryParams |
QueryParams.key(String key) |
QueryParams |
QueryParams.month(int month) |
QueryParams |
QueryParams.pretty(boolean pretty) |
QueryParams |
QueryParams.previous(boolean previous) |
QueryParams |
QueryParams.upcoming(boolean upcoming) |
QueryParams |
QueryParams.year(int year) |
Copyright © 2020. All rights reserved.