1 tony 1.1 // ===================================================================
2 // Title: System Time 2.8
3 // Filename: System28_Time.mof
4 // Version: 2.8
5 // Status: Final
6 // Date: Jan 26, 2004
7 // ===================================================================
8 // Copyright 2001-2003 Distributed Management Task Force, Inc. (DMTF).
9 // All rights reserved.
10 // DMTF is a not-for-profit association of industry members dedicated
11 // to promoting enterprise and systems management and interoperability.
12 // DMTF specifications and documents may be reproduced for uses
13 // consistent with this purpose by members and non-members,
14 // provided that correct attribution is given.
15 // As DMTF specifications may be revised from time to time,
16 // the particular version and release date should always be noted.
17 //
18 // Implementation of certain elements of this standard or proposed
19 // standard may be subject to third party patent rights, including
20 // provisional patent rights (herein "patent rights"). DMTF makes
21 // no representations to users of the standard as to the existence
22 tony 1.1 // of such rights, and is not responsible to recognize, disclose, or
23 // identify any or all such third party patent right, owners or
24 // claimants, nor for any incomplete or inaccurate identification or
25 // disclosure of such rights, owners or claimants. DMTF shall have no
26 // liability to any party, in any manner or circumstance, under any
27 // legal theory whatsoever, for failure to recognize, disclose, or
28 // identify any such third party patent rights, or for such party's
29 // reliance on the standard or incorporation thereof in its product,
30 // protocols or testing procedures. DMTF shall have no liability to
31 // any party implementing such standard, whether such implementation
32 // is foreseeable or not, nor to any patent owner or claimant, and shall
33 // have no liability or responsibility for costs or losses incurred if
34 // a standard is withdrawn or modified after publication, and shall be
35 // indemnified and held harmless by any party implementing the
36 // standard from any and all claims of infringement by a patent owner
37 // for such implementations.
38 //
39 // For information about patents held by third-parties which have
40 // notified the DMTF that, in their opinion, such patent may relate to
41 // or impact implementations of DMTF standards, visit
42 // http://www.dmtf.org/about/policies/disclosures.php.
43 tony 1.1 // ===================================================================
44 // Description: The System Model defines system related management
45 // concepts. This file defines the specific concepts to
46 // describe time zones.
47 //
48 // The object classes below are listed in an order that
49 // avoids forward references. Required objects, defined
50 // by other working groups, are omitted.
51 // ==================================================================
52 // Change Log for v2.8 - None
53 //
54 // Change Log for v2.7 - None
55 // ===================================================================
56
57 #pragma locale ("en_US")
58
59
60 // ===================================================================
61 // CIM_TimeZone
62 // ===================================================================
63 [Version ( "2.6.0" ), Description (
64 tony 1.1 "The TimeZone class is a set of properties defining a "
65 "particular time zone. These properties include the concept of "
66 "daylight saving time.")]
67 class CIM_TimeZone : CIM_Setting {
68
69 [Key, Description (
70 "Time zone identifier. The Id MAY be expressed in the form "
71 "'area name/city name' (e.g., \"America/New_York\"), or as a "
72 "time zone name (for example, EST or EDT).")]
73 string TimeZoneID;
74
75 [Key, Description (
76 "The date and time at which this time zone definition takes "
77 "effect. The value is specified in UTC.")]
78 datetime TimeZoneStartDate;
79
80 [Description (
81 "Full name of the 'standard' time zone (e.g., \"U.S. Eastern "
82 "Standard Time\"), suitable for presentation to the user in "
83 "the default locale."),
84 ModelCorrespondence { "CIM_TimeZone.StandardCaption" }]
85 tony 1.1 string StandardName;
86
87 [Description (
88 "Short name of the 'standard' time zone (e.g., \"EST\"), "
89 "suitable for presentation to the user in the default "
90 "locale. Note that a specific StandardCaption property is "
91 "defined, instead of using the inherited Caption. This is "
92 "done to force consistent property naming for the "
93 "StandardXXX and DaylightXXX properties."),
94 ModelCorrespondence { "CIM_TimeZone.StandardName" }]
95 string StandardCaption;
96
97 [Description (
98 "The number of minutes by which this 'standard' time differs "
99 "from UTC. For example, U.S. EST differs from UTC by -5.0 "
100 "hours or -300 minutes, whereas Australia Adelaide Standard "
101 "Time differs by 9.5 hours or 570 minutes."),
102 Units ( "Minutes" )]
103 sint32 StandardOffset;
104
105 [Description (
106 tony 1.1 "The month in which daylight saving time ends (and "
107 "'standard' time begins). Specify 0 for January, 1 for "
108 "February, and so on."),
109 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
110 "10", "11" },
111 Values { "January", "February", "March", "April", "May", "June",
112 "July", "August", "September", "October", "November",
113 "December" },
114 ModelCorrespondence { "CIM_TimeZone.StandardDay" }]
115 uint8 StandardMonth;
116
117 [Description (
118 "There are two different interpretations for this property, "
119 "depending on the value of StandardDayOfWeek. In one case, "
120 "StandardDay defines the day-in-month on which daylight "
121 "saving time ends. This interpretation is used when the "
122 "StandardDayOfWeek is 0. A positive or negative integer is "
123 "specified to indicate whether the StandardDay should be "
124 "calculated from the beginning or the end of the month. For "
125 "example, 5 indicates the fifth day in the StandardMonth and "
126 "-1 indicates the last day in the StandardMonth. \n"
127 tony 1.1 "\n"
128 "When StandardDayOfWeek is not 0, StandardDay is the day- "
129 "in-month on which daylight saving time ends, defined in "
130 "conjunction with StandardDayOfWeek. For example, if "
131 "StandardDay is 15 and StandardDayOfWeek is Saturday, then "
132 "daylight saving time ends on the first Saturday on or after "
133 "the 15th day in the StandardMonth (i.e., the third Saturday "
134 "in the month). If StandardDay is 20 and StandardDayOfWeek "
135 "is -Saturday, then this indicates the first Saturday on or "
136 "before the 20th day in the StandardMonth. If StandardDay is "
137 "-1 and StandardDayOfWeek is -Sunday, then this indicates "
138 "the last Sunday in the StandardMonth."),
139 MinValue ( -31 ), MaxValue ( 31 ),
140 ModelCorrespondence { "CIM_TimeZone.StandardDayOfWeek" }]
141 sint8 StandardDay;
142
143 [Description (
144 "Positive or negative integer used in conjunction with "
145 "StandardDay to indicate the day of the week on which "
146 "daylight saving time ends (and 'standard' time begins). "
147 "StandardDayOfWeek is set to 0 to indicate an exact day of "
148 tony 1.1 "the month, such as March 1. A positive integer "
149 "(representing Sunday, Monday, ..., Saturday) means that the "
150 "day of week is found on or after the specified StandardDay. "
151 "A negative integer (representing -Sunday, -Monday, ..., "
152 "-Saturday) means that the day of week is found on or before "
153 "the StandardDay."),
154 ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1",
155 "2", "3", "4", "5", "6", "7" },
156 Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday",
157 "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth",
158 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
159 "Friday", "Saturday" },
160 ModelCorrespondence { "CIM_TimeZone.StandardDay" }]
161 sint8 StandardDayOfWeek;
162
163 [Description (
164 "The time interval after midnight when daylight saving time "
165 "ends. For example, \n"
166 "00000000020000.000000:000 \n"
167 "indicates that daylight saving time ends at two o'clock, "
168 "local time (usually, daylight saving time).")]
169 tony 1.1 datetime StandardStartInterval;
170
171 [Description (
172 "Full name of the 'daylight' time zone (e.g., \"U.S. Eastern "
173 "Daylight Saving Time\"), suitable for presentation to the "
174 "user in the default locale."),
175 ModelCorrespondence { "CIM_TimeZone.DaylightCaption" }]
176 string DaylightName;
177
178 [Description (
179 "Short name of the 'daylight' time zone (e.g., \"EDT\"), "
180 "suitable for presentation to the user in the default "
181 "locale. Note that a specific DaylightCaption property is "
182 "defined, instead of using the inherited Caption. This is "
183 "done to force consistent property naming for the "
184 "StandardXXX and DaylightXXX properties."),
185 ModelCorrespondence { "CIM_TimeZone.DaylightName" }]
186 string DaylightCaption;
187
188 [Description (
189 "The number of minutes by which this daylight saving time "
190 tony 1.1 "differs from UTC. For example, U.S. EDT differs from UTC by "
191 "-4.0 hours or -240 minutes, whereas Australia Adelaide "
192 "Daylight Time differs by 10.5 hours or 630 minutes."),
193 Units ( "Minutes" )]
194 sint32 DaylightOffset;
195
196 [Description (
197 "The month in which daylight saving time starts. Specify 0 "
198 "for January, 1 for February, and so on."),
199 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
200 "10", "11" },
201 Values { "January", "February", "March", "April", "May", "June",
202 "July", "August", "September", "October", "November",
203 "December" },
204 ModelCorrespondence { "CIM_TimeZone.DaylightDay" }]
205 uint8 DaylightMonth;
206
207 [Description (
208 "There are two different interpretations for this property, "
209 "depending on the value of DaylightDayOfWeek. In one case, "
210 "DaylightDay defines the day-in-month on which daylight "
211 tony 1.1 "saving time starts. This interpretation is used when the "
212 "DaylightDayOfWeek is 0. A positive or negative integer is "
213 "specified to indicate whether the DaylightDay should be "
214 "calculated from the beginning or the end of the month. For "
215 "example, 5 indicates the fifth day in the DaylightMonth and "
216 "-1 indicates the last day in the DaylightMonth. \n"
217 "\n"
218 "When DaylightDayOfWeek is not 0, DaylightDay is the day- "
219 "in-month on which daylight saving time starts, defined in "
220 "conjunction with DaylightDayOfWeek. For example, if "
221 "DaylightDay is 15 and DaylightDayOfWeek is Saturday, then "
222 "daylight saving time starts on the first Saturday on or "
223 "after the 15th day in the DaylightMonth (i.e., the third "
224 "Saturday in the month). If DaylightDay is 20 and "
225 "DaylightDayOfWeek is -Saturday, then this indicates the "
226 "first Saturday on or before the 20th day in the "
227 "DaylightMonth. If DaylightDay is -1 and DaylightDayOfWeek "
228 "is -Sunday, then this indicates the last Sunday in the "
229 "month."),
230 MinValue ( -31 ), MaxValue ( 31 ),
231 ModelCorrespondence { "CIM_TimeZone.DaylightDayOfWeek" }]
232 tony 1.1 sint8 DaylightDay;
233
234 [Description (
235 "Positive or negative integer used in conjunction with "
236 "DaylightDay to indicate the day of the week on which "
237 "daylight saving time starts. Set DaylightDayOfWeek to 0 to "
238 "indicate an exact day of month, such as March 1. Positive "
239 "integer (Sunday, Monday, ..., Saturday) means that the day "
240 "of week is found on or after DaylightDay. Negative integer "
241 "(-Sunday, -Monday, ..., -Saturday) means that the day of "
242 "week is found on or before DaylightDay."),
243 ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1",
244 "2", "3", "4", "5", "6", "7" },
245 Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday",
246 "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth",
247 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
248 "Friday", "Saturday" },
249 ModelCorrespondence { "CIM_TimeZone.DaylightDay" }]
250 sint8 DaylightDayOfWeek;
251
252 [Description (
253 tony 1.1 "The time interval after midnight when daylight saving time "
254 "starts. For example, \n"
255 "00000000020000.000000:000 \n"
256 "indicates that daylight saving time starts at two o'clock, "
257 "local time (usually, standard time).")]
258 datetime DaylightStartInterval;
259 };
260
261
262 // ===================================================================
263 // end of file
264 // ===================================================================
|