ServiceCalendar Data Type

Note that I decided to call this class ServiceCalendar instead of Calendar, so as to avoid confusion with java.util.Calendar

Implemented Interfaces
Serializable
Properties
name data type constraints description
serviceId FeedScopedId  
monday number required
tuesday number required
wednesday number required
thursday number required
friday number required
saturday number required
sunday number required
period ServiceDateInterval  

Example

{
  "serviceId" : {
    "feedId" : "...",
    "id" : "..."
  },
  "monday" : 12345,
  "tuesday" : 12345,
  "wednesday" : 12345,
  "thursday" : 12345,
  "friday" : 12345,
  "saturday" : 12345,
  "sunday" : 12345,
  "period" : {
    "unbounded" : true,
    "start" : {
      "year" : 12345,
      "month" : 12345,
      "day" : 12345,
      "minMax" : true
    },
    "end" : {
      "year" : 12345,
      "month" : 12345,
      "day" : 12345,
      "minMax" : true
    }
  }
}