Class BankHoliday

java.lang.Object
com.version1.testdata.BankHoliday

public class BankHoliday extends Object
A simple representation class to calculate the bank holiday
  • Constructor Details

    • BankHoliday

      public BankHoliday()
  • Method Details

    • getTitle

      public String getTitle()
      Returns:
      title from the Json property
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - for the bank holiday
    • getLocalDate

      public String getLocalDate(String dateFormat)
      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

      public void setLocalDate(String localDate)