OS schedule measure and Leap Year [closed]

asked 2017-11-22 02:42:04 -0500

Avi's avatar

updated 2017-11-22 02:43:38 -0500

I am writing OS measures which creates Ruleset schedules. I am not sure how OS deals with leap years and how should I approach that in the code? I am aware of the different methods in the SDK that deals with that issue such openstudio::model::ScheduleBase::ensureNoLeapDays but again I am not sure what my code should take care of.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Julien Marrec
close date 2017-11-23 08:31:01.753075


@ljbrackney other than being sad the question you refered to still leaves me perplexed

Avi's avatar Avi  ( 2017-11-22 13:57:11 -0500 )edit

@Julien Marrec I disagree about taging that question duplicate since the question referred by ljbrackney is about weather data. It might be that for you it is obvious how schedules should deal with leap year but for me even after reading that question several times it is still not clear.

Avi's avatar Avi  ( 2017-11-23 15:24:53 -0500 )edit