// Copyright (c) 2005 DMTF. All rights reserved. [Experimental, Version ( "2.10.0" ), UMLPackagePath ( "CIM::Core::Settings" ), Description ( "The TimeZone class is a set of properties that define a " "particular time zone. These properties include the concept of " "daylight saving time. \n" "If time zone is implemented, then there must be a current " "zone, as indicated using the IsCurrent property of the " "inherited ElementSettingData association. This class allows an " "application or client to pick the time zone that will be used " "for any related ManagedElements. The latter are defined by the " "Element SettingData association, based on the " "IsCurrent/IsDefault properties of the association. There " "should be an instance of TimeZoneSettingData for each zone " "supported by an element. \n" "If this class is implemented, then TimeService must also be " "implemented and available for a particular ManagedElement. " "Together the elements define the date and time. If the " "ElementSettingData instance that is associating the " "ManagedElement has the IsCurrent property set to true, then " "the TimeData parameter that is returned by the ManageTime " "method must reflect this zone when time data is requested." )] class CIM_TimeZoneSettingData : CIM_SettingData { [Description ( "Full name of the \"standard\" time zone (for example, " "U.S. Eastern Standard Time), suitable for presentation " "to the user in the default locale." )] string StandardName; [Description ( "Short name of the \"standard\" time zone (for example, " "EST), suitable for presentation to the user in the " "default locale. Note that a specific StandardCaption " "property is defined, instead of using the inherited " "Caption. This definition is used to force consistent " "property naming for the StandardXXX and DaylightXXX " "properties." )] string StandardCaption; [Description ( "The number of minutes by which this \"standard\" time " "differs from UTC. For example, U.S. EST differs from UTC " "by -5.0 hours or -300 minutes, whereas Australia " "Adelaide Standard Time differs by 9.5 hours or 570 " "minutes." ), Units ( "Minutes" ), PUnit ( "minute" )] sint32 StandardOffset; [Description ( "The month in which daylight saving time ends (and " "\"standard\" time begins). Specify 0 for January, 1 for " "February, and so on." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" }, Values { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }] uint8 StandardMonth; [Description ( "There are two different interpretations for this " "property, depending on the value of StandardDayOfWeek. " "In one case, StandardDay defines the day-in-month on " "which daylight saving time ends. This interpretation is " "used when the StandardDayOfWeek is 0. A positive or " "negative integer is specified to indicate whether the " "StandardDay is calculated from the beginning or the end " "of the month. For example, 5 indicates the fifth day in " "the StandardMonth and -1 indicates the last day in the " "StandardMonth. \n" "When StandardDayOfWeek is not 0, StandardDay is the " "day-in-month on which daylight saving time ends, as " "defined in conjunction with StandardDayOfWeek. For " "example, if StandardDay is 15 and StandardDayOfWeek is " "Saturday, then daylight saving time ends on the first " "Saturday on or after the 15th day in the StandardMonth " "(that is, the third Saturday in the month). If " "StandardDay is 20 and StandardDayOfWeek is -Saturday, " "then this indicates the first Saturday on or before the " "20th day in the StandardMonth. If StandardDay is -1 and " "StandardDayOfWeek is -Sunday, then this indicates the " "last Sunday in the StandardMonth." ), MinValue ( -31 ), MaxValue ( 31 )] sint8 StandardDay; [Description ( "Positive or negative integer used in conjunction with " "StandardDay to indicate the day of the week on which " "daylight saving time ends (and \"standard\" time " "begins). StandardDayOfWeek is set to 0 to indicate an " "exact day of the month, such as March 1. A positive " "integer (representing Sunday, Monday, and so on through " "Saturday) means that the day of the week is found on or " "after the specified StandardDay. A negative integer " "(representing -Sunday, -Monday and so on through " "-Saturday) means that the day of the week is found on or " "before the StandardDay." ), ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday", "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }] sint8 StandardDayOfWeek; [Description ( "The time interval after midnight when daylight saving " "time ends. For example, \n" "00000000020000.000000:000 \n" "indicates that daylight saving time ends at two o\'clock, " "local time (usually, daylight saving time)." )] datetime StandardStartInterval; [Description ( "Full name of the \"daylight\" time zone (for example, " "U.S. Eastern Daylight Saving Time), suitable for " "presentation to the user in the default locale." )] string DaylightName; [Description ( "Short name of the \"daylight\" time zone (for example, " "EDT), suitable for presentation to the user in the " "default locale. Note that a specific DaylightCaption " "property is defined instead of using the inherited " "Caption. This definition is used to force consistent " "property naming for the StandardXXX and DaylightXXX " "properties." )] string DaylightCaption; [Description ( "The number of minutes by which this daylight saving time " "differs from UTC. For example, U.S. EDT differs from UTC " "by -4.0 hours or -240 minutes, whereas Australia " "Adelaide Daylight Time differs by 10.5 hours or 630 " "minutes." ), Units ( "Minutes" ), PUnit ( "minute" )] sint32 DaylightOffset; [Description ( "The month in which daylight saving time starts. Specify " "0 for January, 1 for February, and so on." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" }, Values { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }] uint8 DaylightMonth; [Description ( "There are two different interpretations for this " "property, depending on the value of DaylightDayOfWeek. " "In one case, DaylightDay defines the day-in-month on " "which daylight saving time starts. This interpretation " "is used when the DaylightDayOfWeek is 0. A positive or " "negative integer is specified to indicate whether the " "DaylightDay is calculated from the beginning or the end " "of the month. For example, 5 indicates the fifth day in " "the DaylightMonth and -1 indicates the last day in the " "DaylightMonth. \n" "When DaylightDayOfWeek is not 0, DaylightDay is the day " "in the month on which daylight saving time starts, as " "defined in conjunction with DaylightDayOfWeek. For " "example, if DaylightDay is 15 and DaylightDayOfWeek is " "Saturday, then daylight saving time starts on the first " "Saturday on or after the 15th day in the DaylightMonth " "(that is, the third Saturday in the month). If " "DaylightDay is 20 and DaylightDayOfWeek is -Saturday, " "then this indicates the first Saturday on or before the " "20th day in the DaylightMonth. If DaylightDay is -1 and " "DaylightDayOfWeek is -Sunday, then this indicates the " "last Sunday in the month." ), MinValue ( -31 ), MaxValue ( 31 )] sint8 DaylightDay; [Description ( "Positive or negative integer used in conjunction with " "DaylightDay to indicate the day of the week on which " "daylight saving time starts. Set DaylightDayOfWeek to 0 " "to indicate an exact day of the month, such as March 1. " "A positive integer (Sunday, Monday, and so on through " "Saturday) means that the day of the week is found on or " "after DaylightDay. A negative integer (-Sunday, -Monday, " "and so on through -Saturday) means that the day of the " "week is found on or before DaylightDay." ), ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday", "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }] sint8 DaylightDayOfWeek; [Description ( "The time interval after midnight when daylight saving " "time starts. For example, \n" "00000000020000.000000:000 \n" "indicates that daylight saving time starts at two " "o\'clock, local time (usually, standard time)." )] datetime DaylightStartInterval; };