System::TimeZoneInfo::TransitionTime::CreateFloatingDateRule method

TransitionTime::CreateFloatingDateRule method

Constructs an instance of TransitionTime class that represents a floating-date rule (time change that occurs on specific day of a specific week of a specific month).

static TransitionTime System::TimeZoneInfo::TransitionTime::CreateFloatingDateRule(DateTime time_of_day, int month, int week, DayOfWeek day_of_week)
ParameterTypeDescription
time_of_dayDateTimeThe specific time at which the time change occurs.
monthintThe month of the year at which the time change occurs.
weekintThe week of the month at which the time change occurs.
day_of_weekDayOfWeekThe day of week at which the time change occurs.

ReturnValue

An istance of TransitionTime class that represents the described time change.

See Also