Module transit_model::calendars[][src]

This exposes common information between GTFS and NTFS Mainly 2 common things are grouped here:

  • Accessibility of some equipments
  • calendar.txt and calendar_dates.txt format are identical between the GTFS and NTFS

Structs

Calendar

Structure to serialize/deserialize the file calendar.txt

CalendarDate

Structure to serialize/deserialize the file calendar_dates.txt

Functions

write_calendar

Write the calendar.txt file into a Path from a list of Calendar

write_calendar_dates

Write the calendar_dates.txt file into a Path from a list of Calendar