ServiceCalendarDate Data Type

This class explicitly activate or disable a service by date. It can be used in two ways.

  1. in conjunction with ServiceCalendar to define exceptions to the default service patterns defined.
  2. Omit ServiceCalendar and use this class to specify each date of service.
This class is immutable.

Implemented Interfaces
Serializable
Properties
name data type constraints description
serviceId FeedScopedId  
date ServiceDate  
exceptionType number required

Example

{
  "serviceId" : {
    "feedId" : "...",
    "id" : "..."
  },
  "date" : {
    "year" : 12345,
    "month" : 12345,
    "day" : 12345,
    "minMax" : true
  },
  "exceptionType" : 12345
}