BuildingOperatingYearSchedule.SetScheduleForDay
Description:
Sets the BuildingOperatingDaySchedule for this day of the year.
Sets the BuildingOperatingDaySchedule for this day of the year.
Remarks:
The day argument must be in 2023 to match the template year in the user interface calendar: it has 365 days and starts on a Sunday.
The day argument must be in 2023 to match the template year in the user interface calendar: it has 365 days and starts on a Sunday.
public void SetScheduleForDay(
DateTime day,
BuildingOperatingDaySchedule daySchedule
)
-
DateTimedayThe day of the year. The value must be in 2023 (the template year) and have the time zone set to gmt/utc. Time values will be ignored.
-
dayScheduleThe schedule used on that day.
-
daySchedule must be in the same document.
-
A non-optional argument was null
-
day must be in the year 2023.