Class HolidayState

java.lang.Object
com.timeanddate.services.dataTypes.holidays.HolidayState

public class HolidayState extends Object
Author:
Cato Auestad <cato@timeanddate.com>
  • Constructor Details

    • HolidayState

      public HolidayState()
  • Method Details

    • getId

      public int getId()
      Unique id of the state/subdivision.
    • getAbbrevation

      public String getAbbrevation()
      Abbreviation of the state/subdivision.
    • getName

      public String getName()
      Common name of the state/subdivision.
    • getException

      public String getException()
      Eventual exception if the holiday does not affect the whole state/subdivision.
    • fromNode

      public static HolidayState fromNode(Node node)