DATEX-II-EU / DatexII

Main repository for issues and bugs for the DATEXII standard
0 stars 0 forks source link

TimePeriodOfDay could confirm convention for day boundary (Bugzilla Bug 490) #490

Open datexii opened 3 months ago

datexii commented 3 months ago

This issue was created automatically with bugzilla2github.py

Bugzilla Bug 490

Date: 2024-06-24T11:40:33+02:00 From: @iancornwellmottmac To: @JoergFst CC: @JosefKaltwasser

Last updated: 2024-06-24T12:00:59+02:00

datexii commented 3 months ago

Comment 1972

Date: 2024-06-24 11:40:33 +0200 From: @iancornwellmottmac

A question from a developer implied that TimePeriodOfDay is regarded as being restricted to only specify a period contained in one calendar day.

But the definition doesn't say that, it says the period must be contiguous and in a 24-period. That implies to me that if endTime is before startTime then endTime should be interpreted as being in the following day.

If we agree with my interpretation then we should add that explicitly to the definitions of TimePeriodOfDay and its endTime attribute. If we disagree with my interpretation then we should change the wording in the current definition from "24 hour period" to "calendar day" - but I don't see why we would have to make that restriction.

datexii commented 3 months ago

Comment 1973

Date: 2024-06-24 12:00:59 +0200 From: @JosefKaltwasser

Strongly agree. That was the intention. Maybe we could clarify even in v3.5.