[Cuis-dev] Timespan of days

Hilaire Fernandes hfern at free.fr
Fri Jul 28 15:29:55 PDT 2023


Hi folks,

I want to modelise a timespan of days to represent holidays periods.

The Timespan class does not work with Date, but DateAndTime, makes code 
unnecessarily complex and duration is odd:

(Timespan starting: DateAndTime now ending: DateAndTime tomorrow ) 
duration days

=> 0 (day), I expect 2 days of holidays.

May be Timespan is not the object I should use.

Opinions ?




More information about the Cuis-dev mailing list