Transport-for-the-North / caf.core

Core classes and definitions for CAF family of tools
GNU General Public License v3.0
0 stars 1 forks source link

Add TimePeriodSegment class #12

Open wsp-mbuckley opened 9 months ago

wsp-mbuckley commented 9 months ago

Add new TimePeriodSegment class (sub-class of Segment) which includes information specific to time periods e.g. time formats. This would also work well with #11 for translating between avg day or avg week segments. This might replace the TimeFormat enum or possibly incorporate it.

Some decisions needed on exactly what specific time period information and functionality is required.