Package com.version1.testdata
Class BankHoliday
java.lang.Object
com.version1.testdata.BankHoliday
A simple representation class to calculate the bank holiday
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.LocalDategetLocalDate(String dateFormat) getTitle()voidsetLocalDate(String localDate) void
-
Constructor Details
-
BankHoliday
public BankHoliday()
-
-
Method Details
-
getTitle
- Returns:
- title from the Json property
-
setTitle
- Parameters:
title- for the bank holiday
-
getLocalDate
- Parameters:
dateFormat- for the bank holiday- Returns:
- localDate from the bank holiday
-
getLocalDate
public org.joda.time.LocalDate getLocalDate()- Returns:
- localDate from the bank holiday
-
setLocalDate
-