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