|
static |
Defines a time change that uses a floating-date rule (that is, a time change that occurs on a specific day of a specific week of a specific month).
time_of_day | The time at which the time change occurs. This parameter corresponds to the xtd::time_zone_info::transition_time::ttime_of_day property. |
month | The month in which the time change occurs. This parameter corresponds to the xtd::time_zone_info::transition_time::month property. |
week | The week of the month in which the time change occurs. Its value can range from 1 to 5, with 5 representing the last week of the month. This parameter corresponds to the xtd::time_zone_info::transition_time::week property |
day_of_week | The day of the week on which the time change occurs. This parameter corresponds to the xtd::time_zone_info::transition_time::day_of_week property. |
xtd::argument_exception | The time_of_day parameter has a non-default date component. -or- The time_of_day parameter's Kind property is not unspecified. -or- The time_of_day parameter does not represent a whole number of milliseconds. |
xtd::argument_out_of_range_exception | The month parameter is less than 1 or greater than 12. -or- The week parameter is less than 1 or greater than 5. |