(file) Return to System_Time.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIMPrelim29

  1 karl  1.1 // ===================================================================
  2           // Title:  System Time
  3           // $State: Preliminary $
  4           // $Date: 2004/06/25 16:11:06 $
  5           // $Source: /home/dmtf2/dotorg/var/cvs/repositories/dev/Schema/MOF/System_Time.mof,v $
  6           // $Revision: 1.4 $
  7           // ===================================================================
  8           //#pragma inLine ("Includes/copyright.inc")
  9           // Copyright 1998-2004 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 karl  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 karl  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.9 Preliminary
 55           // CR1336 - Add TimeService and related classes. Deprecate CIM_TimeZone
 56           // 
 57           // Change Log for v2.8 - None
 58           // 
 59           // Change Log for v2.7 - None
 60           // ===================================================================
 61           
 62           #pragma locale ("en_US")
 63           
 64 karl  1.1 // ================================================================
 65           // CIM_TimeZone
 66           // ================================================================
 67              [Deprecated { "CIM_TimeZoneSettingData" }, Version ( "2.8.1000" ), 
 68               Description (
 69                  "The TimeZone class is a set of properties defining a "
 70                  "particular time zone. These properties include the concept of "
 71                  "daylight saving time. It is deprecated to move the concept "
 72                  "into the SettingData hierarchy.")]
 73           class CIM_TimeZone : CIM_Setting {
 74           
 75                 [Deprecated { "CIM_TimeZoneSettingData.InstanceID" }, Key, 
 76                  Description (
 77                     "Time zone identifier. The Id MAY be expressed in the form "
 78                     "'area name/city name' (e.g., \"America/New_York\"), or as a "
 79                     "time zone name (for example, EST or EDT).")]
 80              string TimeZoneID;
 81           
 82                 [Deprecated { "No value" }, Key, Description (
 83                     "The date and time at which this time zone definition takes "
 84                     "effect. The value is specified in UTC.")]
 85 karl  1.1    datetime TimeZoneStartDate;
 86           
 87                 [Deprecated { "CIM_TimeZoneSettingData.StandardName" }, 
 88                  Description (
 89                     "Full name of the 'standard' time zone (e.g., \"U.S. Eastern "
 90                     "Standard Time\"), suitable for presentation to the user in "
 91                     "the default locale."), 
 92                  ModelCorrespondence { "CIM_TimeZone.StandardCaption" }]
 93              string StandardName;
 94           
 95                 [Deprecated { "CIM_TimeZoneSettingData.StandardCaption" }, 
 96                  Description (
 97                     "Short name of the 'standard' time zone (e.g., \"EST\"), "
 98                     "suitable for presentation to the user in the default "
 99                     "locale. Note that a specific StandardCaption property is "
100                     "defined, instead of using the inherited Caption. This is "
101                     "done to force consistent property naming for the "
102                     "StandardXXX and DaylightXXX properties."), 
103                  ModelCorrespondence { "CIM_TimeZone.StandardName" }]
104              string StandardCaption;
105           
106 karl  1.1       [Deprecated { "CIM_TimeZoneSettingData.StandardOffset" }, 
107                  Description (
108                     "The number of minutes by which this 'standard' time differs "
109                     "from UTC. For example, U.S. EST differs from UTC by -5.0 "
110                     "hours or -300 minutes, whereas Australia Adelaide Standard "
111                     "Time differs by 9.5 hours or 570 minutes."), 
112                  Units ( "Minutes" )]
113              sint32 StandardOffset;
114           
115                 [Deprecated { "CIM_TimeZoneSettingData.StandardMonth" }, 
116                  Description (
117                     "The month in which daylight saving time ends (and "
118                     "'standard' time begins). Specify 0 for January, 1 for "
119                     "February, and so on."), 
120                  ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
121                     "10", "11" }, 
122                  Values { "January", "February", "March", "April", "May", "June",
123                     "July", "August", "September", "October", "November",
124                     "December" }, 
125                  ModelCorrespondence { "CIM_TimeZone.StandardDay" }]
126              uint8 StandardMonth;
127 karl  1.1 
128                 [Deprecated { "CIM_TimeZoneSettingData.StandardDay" }, 
129                  Description (
130                     "There are two different interpretations for this property, "
131                     "depending on the value of StandardDayOfWeek. In one case, "
132                     "StandardDay defines the day-in-month on which daylight "
133                     "saving time ends. This interpretation is used when the "
134                     "StandardDayOfWeek is 0. A positive or negative integer is "
135                     "specified to indicate whether the StandardDay is calculated "
136                     "from the beginning or the end of the month. For example, 5 "
137                     "indicates the fifth day in the StandardMonth and -1 "
138                     "indicates the last day in the StandardMonth. \n"
139                     "\n"
140                     "When StandardDayOfWeek is not 0, StandardDay is the day- "
141                     "in-month on which daylight saving time ends, defined in "
142                     "conjunction with StandardDayOfWeek. For example, if "
143                     "StandardDay is 15 and StandardDayOfWeek is Saturday, then "
144                     "daylight saving time ends on the first Saturday on or after "
145                     "the 15th day in the StandardMonth (i.e., the third Saturday "
146                     "in the month). If StandardDay is 20 and StandardDayOfWeek "
147                     "is -Saturday, then this indicates the first Saturday on or "
148 karl  1.1           "before the 20th day in the StandardMonth. If StandardDay is "
149                     "-1 and StandardDayOfWeek is -Sunday, then this indicates "
150                     "the last Sunday in the StandardMonth."), 
151                  MinValue ( -31 ), MaxValue ( 31 ), 
152                  ModelCorrespondence { "CIM_TimeZone.StandardDayOfWeek" }]
153              sint8 StandardDay;
154           
155                 [Deprecated { "CIM_TimeZoneSettingData.StandardDayOfWeek" }, 
156                  Description (
157                     "Positive or negative integer used in conjunction with "
158                     "StandardDay to indicate the day of the week on which "
159                     "daylight saving time ends (and 'standard' time begins). "
160                     "StandardDayOfWeek is set to 0 to indicate an exact day of "
161                     "the month, such as March 1. A positive integer "
162                     "(representing Sunday, Monday, ..., Saturday) means that the "
163                     "day of week is found on or after the specified StandardDay. "
164                     "A negative integer (representing -Sunday, -Monday, ..., "
165                     "-Saturday) means that the day of week is found on or before "
166                     "the StandardDay."), 
167                  ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1",
168                     "2", "3", "4", "5", "6", "7" }, 
169 karl  1.1        Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday",
170                     "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth",
171                     "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
172                     "Friday", "Saturday" }, 
173                  ModelCorrespondence { "CIM_TimeZone.StandardDay" }]
174              sint8 StandardDayOfWeek;
175           
176                 [Deprecated { "CIM_TimeZoneSettingData.StandardStartInterval" }, 
177                  Description (
178                     "The time interval after midnight when daylight saving time "
179                     "ends. For example, \n"
180                     "00000000020000.000000:000 \n"
181                     "indicates that daylight saving time ends at two o'clock, "
182                     "local time (usually, daylight saving time).")]
183              datetime StandardStartInterval;
184           
185                 [Deprecated { "CIM_TimeZoneSettingData.DaylightName" }, 
186                  Description (
187                     "Full name of the 'daylight' time zone (e.g., \"U.S. Eastern "
188                     "Daylight Saving Time\"), suitable for presentation to the "
189                     "user in the default locale."), 
190 karl  1.1        ModelCorrespondence { "CIM_TimeZone.DaylightCaption" }]
191              string DaylightName;
192           
193                 [Deprecated { "CIM_TimeZoneSettingData.DaylightCaption" }, 
194                  Description (
195                     "Short name of the 'daylight' time zone (e.g., \"EDT\"), "
196                     "suitable for presentation to the user in the default "
197                     "locale. Note that a specific DaylightCaption property is "
198                     "defined, instead of using the inherited Caption. This is "
199                     "done to force consistent property naming for the "
200                     "StandardXXX and DaylightXXX properties."), 
201                  ModelCorrespondence { "CIM_TimeZone.DaylightName" }]
202              string DaylightCaption;
203           
204                 [Deprecated { "CIM_TimeZoneSettingData.DaylightOffset" }, 
205                  Description (
206                     "The number of minutes by which this daylight saving time "
207                     "differs from UTC. For example, U.S. EDT differs from UTC by "
208                     "-4.0 hours or -240 minutes, whereas Australia Adelaide "
209                     "Daylight Time differs by 10.5 hours or 630 minutes."), 
210                  Units ( "Minutes" )]
211 karl  1.1    sint32 DaylightOffset;
212           
213                 [Deprecated { "CIM_TimeZoneSettingData.DaylightMonth" }, 
214                  Description (
215                     "The month in which daylight saving time starts. Specify 0 "
216                     "for January, 1 for February, and so on."), 
217                  ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
218                     "10", "11" }, 
219                  Values { "January", "February", "March", "April", "May", "June",
220                     "July", "August", "September", "October", "November",
221                     "December" }, 
222                  ModelCorrespondence { "CIM_TimeZone.DaylightDay" }]
223              uint8 DaylightMonth;
224           
225                 [Deprecated { "CIM_TimeZoneSettingData.DaylightDay" }, 
226                  Description (
227                     "There are two different interpretations for this property, "
228                     "depending on the value of DaylightDayOfWeek. In one case, "
229                     "DaylightDay defines the day-in-month on which daylight "
230                     "saving time starts. This interpretation is used when the "
231                     "DaylightDayOfWeek is 0. A positive or negative integer is "
232 karl  1.1           "specified to indicate whether the DaylightDay is calculated "
233                     "from the beginning or the end of the month. For example, 5 "
234                     "indicates the fifth day in the DaylightMonth and -1 "
235                     "indicates the last day in the DaylightMonth. \n"
236                     "\n"
237                     "When DaylightDayOfWeek is not 0, DaylightDay is the day- "
238                     "in-month on which daylight saving time starts, defined in "
239                     "conjunction with DaylightDayOfWeek. For example, if "
240                     "DaylightDay is 15 and DaylightDayOfWeek is Saturday, then "
241                     "daylight saving time starts on the first Saturday on or "
242                     "after the 15th day in the DaylightMonth (i.e., the third "
243                     "Saturday in the month). If DaylightDay is 20 and "
244                     "DaylightDayOfWeek is -Saturday, then this indicates the "
245                     "first Saturday on or before the 20th day in the "
246                     "DaylightMonth. If DaylightDay is -1 and DaylightDayOfWeek "
247                     "is -Sunday, then this indicates the last Sunday in the "
248                     "month."), 
249                  MinValue ( -31 ), MaxValue ( 31 ), 
250                  ModelCorrespondence { "CIM_TimeZone.DaylightDayOfWeek" }]
251              sint8 DaylightDay;
252           
253 karl  1.1       [Deprecated { "CIM_TimeZoneSettingData.DaylightDayOfWeek" }, 
254                  Description (
255                     "Positive or negative integer used in conjunction with "
256                     "DaylightDay to indicate the day of the week on which "
257                     "daylight saving time starts. Set DaylightDayOfWeek to 0 to "
258                     "indicate an exact day of month, such as March 1. Positive "
259                     "integer (Sunday, Monday, ..., Saturday) means that the day "
260                     "of week is found on or after DaylightDay. Negative integer "
261                     "(-Sunday, -Monday, ..., -Saturday) means that the day of "
262                     "week is found on or before DaylightDay."), 
263                  ValueMap { "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1",
264                     "2", "3", "4", "5", "6", "7" }, 
265                  Values { "-Saturday", "-Friday", "-Thursday", "-Wednesday",
266                     "-Tuesday", "-Monday", "-Sunday", "ExactDayOfMonth",
267                     "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
268                     "Friday", "Saturday" }, 
269                  ModelCorrespondence { "CIM_TimeZone.DaylightDay" }]
270              sint8 DaylightDayOfWeek;
271           
272                 [Deprecated { "CIM_TimeZoneSettingData.DaylightStartInterval" }, 
273                  Description (
274 karl  1.1           "The time interval after midnight when daylight saving time "
275                     "starts. For example, \n"
276                     "00000000020000.000000:000 \n"
277                     "indicates that daylight saving time starts at two o'clock, "
278                     "local time (usually, standard time).")]
279              datetime DaylightStartInterval;
280           
281           };
282           
283           // ===================================================================
284           // end of file
285           // ===================================================================

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2