Class ServiceCalendar

java.lang.Object
org.onebusaway.gtfs.model.IdentityBean<Integer>
org.onebusaway.gtfs.model.ServiceCalendar
All Implemented Interfaces:
Serializable, HasExtensions

public final class ServiceCalendar extends IdentityBean<Integer>
Note that I decided to call this class ServiceCalendar instead of Calendar, so as to avoid confusion with java.util.Calendar
Author:
bdferris
See Also:
  • Constructor Details

    • ServiceCalendar

      public ServiceCalendar()
    • ServiceCalendar

      public ServiceCalendar(ServiceCalendar sc)
  • Method Details

    • getId

      public Integer getId()
      Specified by:
      getId in class IdentityBean<Integer>
    • setId

      public void setId(Integer id)
      Specified by:
      setId in class IdentityBean<Integer>
    • getServiceId

      public AgencyAndId getServiceId()
    • setServiceId

      public void setServiceId(AgencyAndId serviceId)
    • getMonday

      public int getMonday()
    • setMonday

      public void setMonday(int monday)
    • getTuesday

      public int getTuesday()
    • setTuesday

      public void setTuesday(int tuesday)
    • getWednesday

      public int getWednesday()
    • setWednesday

      public void setWednesday(int wednesday)
    • getThursday

      public int getThursday()
    • setThursday

      public void setThursday(int thursday)
    • getFriday

      public int getFriday()
    • setFriday

      public void setFriday(int friday)
    • getSaturday

      public int getSaturday()
    • setSaturday

      public void setSaturday(int saturday)
    • getSunday

      public int getSunday()
    • setSunday

      public void setSunday(int sunday)
    • getStartDate

      public ServiceDate getStartDate()
    • setStartDate

      public void setStartDate(ServiceDate startDate)
    • getEndDate

      public ServiceDate getEndDate()
    • setEndDate

      public void setEndDate(ServiceDate endDate)
    • toString

      public String toString()
      Overrides:
      toString in class Object