/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/ |
H A D | CK_DATE.java | 58 * 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/sun/util/calendar/ |
H A D | BaseCalendar.java | 152 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 D | JulianCalendar.java | 148 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 D | CalendarDate.java | 69 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 D | ImmutableGregorianDate.java | 73 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
|
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | Month.java | 34 * 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 D | Time.java | 135 * @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/jdk/test/java/util/TimeZone/ |
H A D | Bug6772689.java | 60 for (int month = MARCH; month <= NOVEMBER; month++) { 61 cal.set(year, month, 1, 15, 0, 0); 64 Date date = new Date(year - 1900, month, dom); 66 || date.getMonth() != month 74 month + 1,
|
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | Date.java | 44 * 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 D | Timestamp.java | 77 * @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/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | DatatypeFactoryImpl.java | 83 * 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 D | XMLGregorianCalendarImpl.java | 102 * <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/jdk/src/share/classes/java/util/ |
H A D | Date.java | 46 * 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 D | GregorianCalendar.java | 136 * 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...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | YearMonthDurationDV.java | 53 if ( date.year<0 || date.month<0) { 58 date.month != DatatypeConstants.FIELD_UNDEFINED?BigInteger.valueOf(sign*date.month):null,
|
H A D | AbstractDateTimeDV.java | 202 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...] |
H A D | DurationDV.java | 128 //scan month 129 date.month=negate * parseInt(str,start,end); 284 int temp = addto.month + date.month; 285 duration.month = modulo (temp, 1, 13); 311 temp=maxDayInMonthFor(duration.year, duration.month); 313 duration.day = duration.day + maxDayInMonthFor(duration.year, duration.month-1); 323 temp = duration.month+carry; 324 duration.month = modulo(temp, 1, 13); 354 if ( date.year<0 || date.month< [all...] |
H A D | MonthDV.java | 75 date.month=parseInt(str,2,stop); 86 throw new SchemaDateTimeException ("Error in month parsing: "+str); 106 * Overwrite compare algorithm to optimize month comparison 120 return (short)((date1.month>=date2.month)?(date1.month>date2.month)?1:0:-1); 125 if ( date1.month==date2.month ) { 129 if ( (date1.month [all...] |
H A D | MonthDayDV.java | 77 date.month=parseInt(str, 2, 4); 88 throw new SchemaDateTimeException ("Error in month parsing:" +str); 112 * @return lexical representation of month: --MM-DD with an optional time zone sign 118 append(message, date.month, 2);
|
/openjdk7/jaxp/src/javax/xml/datatype/ |
H A D | DatatypeFactory.java | 191 * 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...] |
/openjdk7/jdk/test/sun/security/tools/keytool/ |
H A D | StartDateTest.java | 46 int month = cal.get(Calendar.MONTH); 62 if (cal.get(Calendar.MONTH) != (month + 1) % 12) {
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerInputBuffer.java | 296 int year, month, day, hour, minute, second, millis; 317 month = 10 * Character.digit((char)buf[pos++], 10); 318 month += Character.digit((char)buf[pos++], 10); 377 if (month == 0 || day == 0 378 || month > 12 || day > 31 388 date.setDate(year, month, day);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/ |
H A D | DatatypeMessages_de.properties | 40 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context. 42 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context.
|
H A D | DatatypeMessages_es.properties | 40 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context. 42 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context.
|
H A D | DatatypeMessages_it.properties | 40 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context. 42 #There are two similar keys 'InvalidXMLGreogorianCalendarValue' . Suffix (year, month) has been added and are used as per the context.
|