WeeklyBreakdown Constructor |
Constructs a
WeeklyBreakdown object that specifies
weekly degree days covering the specified period in time, with each
"week" starting on the specified day of the week.
Namespace: DegreeDays.Api.Data.ImplAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public WeeklyBreakdown(
Period period,
DayOfWeek firstDayOfWeek
)
Public Sub New (
period As Period,
firstDayOfWeek As DayOfWeek
)
Parameters
- period Period
- The period in time that the weekly breakdown should cover.
Cannot be null.
- firstDayOfWeek DayOfWeek
- Indicates which day should be taken as the first of
each week.
Exceptions Remarks
To avoid the potential for confusion, you must explicitly specify the day
of the week that you want each "week" to start on. For example, if a
"week" should run from Monday to Sunday (inclusive), specify the
firstDayOfWeek parameter as DayOfWeek.Monday.
See Also