OS schedule measure and Leap Year [closed]

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.

Avi's avatar
4.3k
Avi
asked 2017-11-22 02:42:04 -0500, updated 2017-11-22 02:43:38 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by Julien Marrec 2017-11-23 08:31:01 -0500

Comments

ljbrackney's avatar ljbrackney (2017-11-22 09:51:27 -0500) edit

@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
add a comment see more comments