Searched defs:month (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_DATE.java58 * CK_CHAR month[2];  
79 * CK_CHAR month[2]; - the month ("01" - "12")
82 public char[] month; /* the month ("01" - "12") */ field in class:CK_DATE
92 public CK_DATE(char[] year, char[] month, char[] day) { argument
94 this.month = month;
113 copy.month = this.month
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DDate.java44 * year, month, and day.
50 * @param month 0 to 11
54 public Date(int year, int month, int day) { argument
55 super(year, month, day);
131 int month = Integer.parseInt(mm);
134 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) {
135 d = new Date(year - 1900, month - 1, day);
155 int month = super.getMonth() + 1;
163 buf[5] = Character.forDigit(month/1
[all...]
H A DTimestamp.java77 * @param month 0 to 11
87 public Timestamp(int year, int month, int date, argument
89 super(year, month, date, hour, minute, second);
176 int month = 0;
226 month = Integer.parseInt(mm);
229 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) {
263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos);
277 int month = super.getMonth() + 1;
301 if (month < 1
[all...]
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DMonth.java34 * Month enum handles month related manipulation.
72 * Parses the specified string as a month abbreviation.
73 * @param name the month abbreviation
85 * @param month the nunmth number (1-based)
86 * @return the month name in uppercase of the specified month
88 static String toString(int month) { argument
89 if (month >= JANUARY.value() && month <= DECEMBER.value()) {
90 return "Calendar." + Month.values()[month
[all...]
H A DTime.java135 * @param month the Month value
142 static long getLocalTime(int year, Month month, RuleDay day, int save, argument
151 return getLocalTime(year, month, day, t);
159 * @param month the Month value
164 static long getLocalTime(int year, Month month, int day, long time) { argument
166 date.setDate(year, month.value(), day);
172 * Equivalent to <code>getLocalTime(year, month, day, (long)time)</code>.
174 * @param month the Month value
179 static long getLocalTime(int year, Month month, int day, int time) { argument
180 return getLocalTime(year, month, da
192 getLocalTime(int year, Month month, RuleDay day, long time) argument
206 getLocalTime(int year, Month month, RuleDay day, int time) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDatatypeFactoryImpl.java83 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
85 * year, month, day, hour, minute, and second.
115 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
117 * year, month, day, hour, minute, and second.
135 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
195 * <code>year</code> and <code>month</code> as defined in
209 * @param month Month of <code>Duration</code>.
211 * @return New <code>Duration</code> created using the specified <code>year</code> and <code>month</code>.
214 * <code>Duration</code>: if all of the fields (year, month) are null or
221 final BigInteger month) {
218 newDurationYearMonth( final boolean isPositive, final BigInteger year, final BigInteger month) argument
249 newDurationYearMonth( final boolean isPositive, final int year, final int month) argument
631 newXMLGregorianCalendar( final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) argument
[all...]
H A DXMLGregorianCalendarImpl.java102 * <a name="datetimefield-month"/>
104 * <td> month </td>
112 * <td> Independent of month, max range is 1 to 31 or {@link DatatypeConstants#FIELD_UNDEFINED}.<br/>
113 * The normative value constraint stated relative to month
167 * Validation checks, for example, whether days in month should be
211 private int month = DatatypeConstants.FIELD_UNDEFINED; field in class:XMLGregorianCalendarImpl
333 DatatypeConstants.JANUARY, //month
463 * @param month of <code>XMLGregorianCalendar</code> to be created.
474 int month,
483 setMonth(month);
472 XMLGregorianCalendarImpl( BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone) argument
543 XMLGregorianCalendarImpl( int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone) argument
689 createDateTime( BigInteger year, int month, int day, int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone) argument
727 createDateTime( int year, int month, int day, int hour, int minute, int second) argument
767 createDateTime( int year, int month, int day, int hours, int minutes, int seconds, int milliseconds, int timezone) argument
808 createDate( int year, int month, int day, int timezone) argument
1229 setMonth(int month) argument
2271 maximumDayInMonthFor(BigInteger year, int month) argument
2286 maximumDayInMonthFor(int year, int month) argument
[all...]
/openjdk7/jaxp/src/javax/xml/datatype/
H A DDatatypeFactory.java191 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
193 * year, month, day, hour, minute, and second.
220 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
222 * year, month, day, hour, minute, and second.
240 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
421 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
535 * whose lexical representation contains only year and month components.
581 * whose lexical representation contains only year and month components.
600 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
603 * <p>Any remaining milliseconds after determining the year and month ar
652 newDurationYearMonth( final boolean isPositive, final BigInteger year, final BigInteger month) argument
686 newDurationYearMonth( final boolean isPositive, final int year, final int month) argument
823 newXMLGregorianCalendar( final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) argument
859 newXMLGregorianCalendar( final int year, final int month, final int day, final int hour, final int minute, final int second, final int millisecond, final int timezone) argument
922 newXMLGregorianCalendarDate( final int year, final int month, final int day, final int timezone) argument
[all...]
H A DXMLGregorianCalendar.java92 * <td><a name="datetimefield-month"/>month</td>
99 * <td> Independent of month, max range is 1 to 31 or {@link DatatypeConstants#FIELD_UNDEFINED}.<br/>
100 * The normative value constraint stated relative to month
214 * int month,
223 * int month,
233 * int month,
289 * <p>Set month.</p>
293 * @param month value constraints summarized in <a href="#datetimefield-month">mont
299 setMonth(int month) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DJulianCalendar.java148 public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar.Date cache) { argument
149 boolean isJan1 = month == JANUARY && dayOfMonth == 1;
156 return cache.getCachedJan1() + getDayOfYear(jyear, month, dayOfMonth) - 1;
168 if (month > 0) {
169 days += ((367 * (long) month) - 362) / 12;
171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12);
173 if (month > FEBRUARY) {
199 int month = 12 * priorDays + 373;
200 if (month > 0) {
201 month /
[all...]
H A DBaseCalendar.java152 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) { argument
154 setMonth(month).setDayOfMonth(dayOfMonth);
197 int month = bdate.getMonth();
198 if (month < JANUARY || month > DECEMBER) {
202 if (d <= 0 || d > getMonthLength(bdate.getNormalizedYear(), month)) {
276 long month = bdate.getMonth();
277 if (month <= 0) {
278 long xm = 1L - month;
280 month
332 getMonthLength(int year, int month) argument
346 getDayOfYear(int year, int month, int dayOfMonth) argument
364 getFixedDate(int year, int month, int dayOfMonth, BaseCalendar.Date cache) argument
[all...]
H A DCalendarDate.java69 private int month; field in class:CalendarDate
166 return month;
169 public CalendarDate setMonth(int month) { argument
170 if (this.month != month) {
171 this.month = month;
179 month += n;
305 public CalendarDate setDate(int year, int month, int dayOfMonth) { argument
307 setMonth(month);
312 addDate(int year, int month, int dayOfMonth) argument
[all...]
H A DImmutableGregorianDate.java73 public CalendarDate setMonth(int month) { argument
149 public CalendarDate setDate(int year, int month, int dayOfMonth) { argument
153 public CalendarDate addDate(int year, int month, int dayOfMonth) { argument
H A DZoneInfo.java364 * assumes that the start and end month are distinct. This method
375 * @param month The month in the given date. Month is 0-based. e.g.,
377 * @param day The day-in-month of the given date.
382 public int getOffset(int era, int year, int month, int day, argument
395 date.setDate(year, month + 1, day);
/openjdk7/jdk/src/share/classes/java/util/
H A DDate.java46 * functions. It allowed the interpretation of dates as year, month, day, hour,
95 * year, month, date, hours, minutes, and seconds values, the
100 * <li>A month is represented by an integer from 0 to 11; 0 is January,
102 * <li>A date (day of month) is represented by an integer from 1 to 31
182 * specified by the <code>year</code>, <code>month</code>, and
186 * @param month the month between 0-11.
187 * @param date the day of the month between 1-31.
190 * replaced by <code>Calendar.set(year + 1900, month, date)</code>
191 * or <code>GregorianCalendar(year + 1900, month, dat
194 Date(int year, int month, int date) argument
217 Date(int year, int month, int date, int hrs, int min) argument
241 Date(int year, int month, int date, int hrs, int min, int sec) argument
315 UTC(int year, int month, int date, int hrs, int min, int sec) argument
703 setMonth(int month) argument
[all...]
H A DTimeZone.java179 * @param month the month in the given date.
181 * @param day the day-in-month of the given date.
191 public abstract int getOffset(int era, int year, int month, int day, argument
H A DGregorianCalendar.java136 * to 6. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
138 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
140 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
142 * the previous month. Days of a month before week 1 have a
629 * @param month the value used to set the <code>MONTH</code> calendar field in the calendar.
633 public GregorianCalendar(int year, int month, int dayOfMonth) { argument
634 this(year, month, dayOfMonth, 0, 0, 0, 0);
642 * @param month the value used to set the <code>MONTH</code> calendar field in the calendar.
650 public GregorianCalendar(int year, int month, in argument
670 GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second) argument
691 GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second, int millis) argument
3055 monthLength(int month, int year) argument
3065 monthLength(int month) argument
[all...]
H A DJapaneseImperialCalendar.java588 // Rolling the month involves both pinning the final value to [0, 11]
650 // Keep the day of month in the range. We
652 // month; e.g., we don't want jan31 + 1 mo ->
678 // The year has only one month. No need to
680 // and the last year have only one month.)
766 // to month and day of month.
784 long month1; // fixed date of the first day (usually 1) of the month
785 int monthLength; // actual month length
794 // the first day of week of the month
2202 monthLength(int month, int gregorianYear) argument
2213 monthLength(int month) argument
[all...]
H A DSimpleTimeZone.java62 * starts or ends is specified by a combination of <em>month</em>,
63 * <em>day-of-month</em>, and <em>day-of-week</em> values. The <em>month</em>
71 * <li><b>Exact day of month</b><br>
72 * To specify an exact day of month, set the <em>month</em> and
73 * <em>day-of-month</em> to an exact value, and <em>day-of-week</em> to zero. For
74 * example, to specify March 1, set the <em>month</em> to {@link Calendar#MARCH
75 * MARCH}, <em>day-of-month</em> to 1, and <em>day-of-week</em> to 0.</li>
77 * <li><b>Day of week on or after day of month</
604 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) argument
745 getTransition(BaseCalendar cal, BaseCalendar.Date cdate, int mode, int year, int month, int dayOfMonth, int dayOfWeek, int timeOfDay) argument
[all...]
H A DCalendar.java91 * the first month of the calendar system has value <code>MONTH ==
119 * <code>DAY_OF_MONTH</code> values between 1 and the length of the month. A
134 * first week of the month or year as a reference point. The first week of a
135 * month or year is defined as the earliest seven day period beginning on
137 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks
148 * year and month with no day of month), or there may be inconsistent
271 * rule 2, since it is expected to change when the month changes in a
290 * component with increment and decrement buttons for the month, day, and
292 * interface reads January 31, 1999 and the user presses the month
1241 set(int year, int month, int date) argument
1265 set(int year, int month, int date, int hourOfDay, int minute) argument
1292 set(int year, int month, int date, int hourOfDay, int minute, int second) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DAbstractDateTimeDV.java202 if (date1.month < date2.month) {
205 if (date1.month > date2.month) {
339 date.month = parseInt(buffer, start, i);
357 throw new RuntimeException("Error in month parsing");
443 if (data.month < 1 || data.month > 12) {
444 throw new RuntimeException("The month must have values 1 to 12");
449 if (data.day > maxDayInMonthFor(data.year, data.month) || dat
702 maxDayInMonthFor(int year, int month) argument
934 int year, month, day, hour, minute, utc; field in class:AbstractDateTimeDV.DateTimeData
959 DateTimeData(int year, int month, int day, int hour, int minute, double second, int utc, String originalValue, boolean normalized, AbstractDateTimeDV type) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/security/krb5/
H A DNativeCreds.c1025 WCHAR month[3]; local
1035 swprintf( (wchar_t *)month, 3, L"%2.2d", systemTime.wMonth);
1043 month,
/openjdk7/hotspot/src/share/vm/runtime/
H A Dos.cpp165 const int month = 1 + time_struct.tm_mon; local
168 month,
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpng.h676 png_byte month; /* month of year, 1 - 12 */ member in struct:png_time_struct
677 png_byte day; /* day of month, 1 - 31 */
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dlcms2.h572 cmsUInt16Number month; member in struct:__anon860

Completed in 92 milliseconds

12