Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OS schedule measure and Leap Year

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.

OS schedule measure and Leap Year

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.