Enum ServiceCode

    • Enum Constant Detail

      • WEEKDAY_SCHOOL_OPEN

        public static final ServiceCode WEEKDAY_SCHOOL_OPEN
      • WEEKDAY_SCHOOL_CLOSED

        public static final ServiceCode WEEKDAY_SCHOOL_CLOSED
      • PRESIDENTS_DAY

        public static final ServiceCode PRESIDENTS_DAY
      • MEMORIAL_DAY

        public static final ServiceCode MEMORIAL_DAY
      • GOOD_FRIDAY

        public static final ServiceCode GOOD_FRIDAY
      • JULY_FOURTH

        public static final ServiceCode JULY_FOURTH
      • COLUMBUS_DAY

        public static final ServiceCode COLUMBUS_DAY
      • THANKSGIVING

        public static final ServiceCode THANKSGIVING
      • DAY_AFTER_THANKSGIVING

        public static final ServiceCode DAY_AFTER_THANKSGIVING
      • CHRISTMAS_EVE

        public static final ServiceCode CHRISTMAS_EVE
      • CHRISTMAS_DAY

        public static final ServiceCode CHRISTMAS_DAY
      • CHRISTMAS_DAY_OBSERVED

        public static final ServiceCode CHRISTMAS_DAY_OBSERVED
      • CHRISTMAS_WEEK

        public static final ServiceCode CHRISTMAS_WEEK
      • NEW_YEARS_EVE

        public static final ServiceCode NEW_YEARS_EVE
      • NEW_YEARS_DAY

        public static final ServiceCode NEW_YEARS_DAY
      • NEW_YEARS_DAY_OBSERVED

        public static final ServiceCode NEW_YEARS_DAY_OBSERVED
    • Method Detail

      • values

        public static ServiceCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServiceCode c : ServiceCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceCode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getServiceCodeForMTAHastusGTFS

        public static ServiceCode getServiceCodeForMTAHastusGTFS​(String id)
      • getLetterCode

        public String getLetterCode()
      • isHoliday

        public boolean isHoliday()