KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > wmi > ISWbemDateTime


1 // GENERATED. DO NOT MODIFY
2
package wmi;
3
4 import com4j.*;
5
6 /**
7  * A Datetime
8  */

9 @IID("{5E97458A-CF77-11D3-B38F-00105A1F473A}")
10 public interface ISWbemDateTime extends Com4jObject {
11     /**
12      * The DMTF datetime
13      */

14     @VTID(7)
15     java.lang.String JavaDoc value();
16
17     /**
18      * The DMTF datetime
19      */

20     @VTID(8)
21     void value(
22         java.lang.String JavaDoc strValue);
23
24     /**
25      * The Year component of the value (must be in the range 0-9999)
26      */

27     @VTID(9)
28     int year();
29
30     /**
31      * The Year component of the value (must be in the range 0-9999)
32      */

33     @VTID(10)
34     void year(
35         int iYear);
36
37     /**
38      * Whether the Year component is specified
39      */

40     @VTID(11)
41     boolean yearSpecified();
42
43     /**
44      * Whether the Year component is specified
45      */

46     @VTID(12)
47     void yearSpecified(
48         boolean bYearSpecified);
49
50     /**
51      * The Month component of the value (must be in the range 1-12)
52      */

53     @VTID(13)
54     int month();
55
56     /**
57      * The Month component of the value (must be in the range 1-12)
58      */

59     @VTID(14)
60     void month(
61         int iMonth);
62
63     /**
64      * Whether the Month component is specified
65      */

66     @VTID(15)
67     boolean monthSpecified();
68
69     /**
70      * Whether the Month component is specified
71      */

72     @VTID(16)
73     void monthSpecified(
74         boolean bMonthSpecified);
75
76     /**
77      * The Day component of the value (must be in the range 1-31, or 0-999999 for interval values)
78      */

79     @VTID(17)
80     int day();
81
82     /**
83      * The Day component of the value (must be in the range 1-31, or 0-999999 for interval values)
84      */

85     @VTID(18)
86     void day(
87         int iDay);
88
89     /**
90      * Whether the Day component is specified
91      */

92     @VTID(19)
93     boolean daySpecified();
94
95     /**
96      * Whether the Day component is specified
97      */

98     @VTID(20)
99     void daySpecified(
100         boolean bDaySpecified);
101
102     /**
103      * The Hours component of the value (must be in the range 0-23)
104      */

105     @VTID(21)
106     int hours();
107
108     /**
109      * The Hours component of the value (must be in the range 0-23)
110      */

111     @VTID(22)
112     void hours(
113         int iHours);
114
115     /**
116      * Whether the Hours component is specified
117      */

118     @VTID(23)
119     boolean hoursSpecified();
120
121     /**
122      * Whether the Hours component is specified
123      */

124     @VTID(24)
125     void hoursSpecified(
126         boolean bHoursSpecified);
127
128     /**
129      * The Minutes component of the value (must be in the range 0-59)
130      */

131     @VTID(25)
132     int minutes();
133
134     /**
135      * The Minutes component of the value (must be in the range 0-59)
136      */

137     @VTID(26)
138     void minutes(
139         int iMinutes);
140
141     /**
142      * Whether the Minutes component is specified
143      */

144     @VTID(27)
145     boolean minutesSpecified();
146
147     /**
148      * Whether the Minutes component is specified
149      */

150     @VTID(28)
151     void minutesSpecified(
152         boolean bMinutesSpecified);
153
154     /**
155      * The Seconds component of the value (must be in the range 0-59)
156      */

157     @VTID(29)
158     int seconds();
159
160     /**
161      * The Seconds component of the value (must be in the range 0-59)
162      */

163     @VTID(30)
164     void seconds(
165         int iSeconds);
166
167     /**
168      * Whether the Seconds component is specified
169      */

170     @VTID(31)
171     boolean secondsSpecified();
172
173     /**
174      * Whether the Seconds component is specified
175      */

176     @VTID(32)
177     void secondsSpecified(
178         boolean bSecondsSpecified);
179
180     /**
181      * The Microseconds component of the value (must be in the range 0-999999)
182      */

183     @VTID(33)
184     int microseconds();
185
186     /**
187      * The Microseconds component of the value (must be in the range 0-999999)
188      */

189     @VTID(34)
190     void microseconds(
191         int iMicroseconds);
192
193     /**
194      * Whether the Microseconds component is specified
195      */

196     @VTID(35)
197     boolean microsecondsSpecified();
198
199     /**
200      * Whether the Microseconds component is specified
201      */

202     @VTID(36)
203     void microsecondsSpecified(
204         boolean bMicrosecondsSpecified);
205
206     /**
207      * The UTC component of the value (must be in the range -720 to 720)
208      */

209     @VTID(37)
210     int uTC();
211
212     /**
213      * The UTC component of the value (must be in the range -720 to 720)
214      */

215     @VTID(38)
216     void uTC(
217         int iUTC);
218
219     /**
220      * Whether the UTC component is specified
221      */

222     @VTID(39)
223     boolean uTCSpecified();
224
225     /**
226      * Whether the UTC component is specified
227      */

228     @VTID(40)
229     void uTCSpecified(
230         boolean bUTCSpecified);
231
232     /**
233      * Indicates whether this value describes an absolute date and time or is an interval
234      */

235     @VTID(41)
236     boolean isInterval();
237
238     /**
239      * Indicates whether this value describes an absolute date and time or is an interval
240      */

241     @VTID(42)
242     void isInterval(
243         boolean bIsInterval);
244
245     /**
246      * Retrieve value in Variant compatible (VT_DATE) format
247      */

248     @VTID(43)
249     java.util.Date JavaDoc getVarDate(
250         boolean bIsLocal);
251
252     /**
253      * Set the value using Variant compatible (VT_DATE) format
254      */

255     @VTID(44)
256     void setVarDate(
257         java.util.Date JavaDoc dVarDate,
258         boolean bIsLocal);
259
260     /**
261      * Retrieve value in FILETIME compatible string representation
262      */

263     @VTID(45)
264     java.lang.String JavaDoc getFileTime(
265         boolean bIsLocal);
266
267     /**
268      * Set the value using FILETIME compatible string representation
269      */

270     @VTID(46)
271     void setFileTime(
272         java.lang.String JavaDoc strFileTime,
273         boolean bIsLocal);
274
275 }
276
Popular Tags