5.2. SEASON sectionΒΆ
Note
SeasonSectionParser
is
responsible for parsing SEASON
section. This section describes mission’s
date and contains 3 lines with key-value pairs. Each line contains year, month
and day respectively.
Parser returns a dictionary with datetime.date
object which is
accessible by date
key.
Section example:
[SEASON]
Year 1942
Month 8
Day 25
Output example:
{
'date': datetime.date(1942, 8, 25),
}