/openjdk7/jdk/test/sun/util/calendar/ |
H A D | Bug6653944.java | 27 *@summary Deserialization tests for YEAR calculcations 38 int expectedYear = buddhist.get(Calendar.YEAR); 43 int deserializedYear = deserialized.get(Calendar.YEAR); 46 // test add(YEAR, n). 47 buddhist.add(Calendar.YEAR, 12); 48 expectedYear = buddhist.get(Calendar.YEAR); 49 deserialized.add(Calendar.YEAR, 12); 50 deserializedYear = deserialized.get(Calendar.YEAR);
|
/openjdk7/jdk/test/java/util/Calendar/ |
H A D | Bug6645263.java | 35 cal.set(Calendar.YEAR, 2007);
|
H A D | WeekDateTest.java | 89 if (cal.get(YEAR) != expected[0] 93 cal.get(YEAR), cal.get(MONTH)+1, cal.get(DAY_OF_MONTH), 147 if (cal.get(YEAR) != expected[0] 151 cal.get(YEAR), cal.get(MONTH)+1, cal.get(DAY_OF_MONTH),
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | CalendarBuilder.java | 82 field[MAX_FIELD + YEAR] += value; 105 && field[WEEK_YEAR] > field[YEAR]; 107 // Use YEAR instead 108 if (!isSet(YEAR)) { 109 set(YEAR, field[MAX_FIELD + WEEK_YEAR]);
|
H A D | DateFormat.java | 171 * Useful constant for YEAR field alignment. 899 public final static Field YEAR = new Field("year", Calendar.YEAR); field in class:DateFormat.Field
|
/openjdk7/jdk/src/share/classes/sun/util/ |
H A D | BuddhistCalendar.java | 118 if (field == YEAR) { 131 if (field == YEAR) { 269 // If the YEAR field is UNSET, then return the Gregorian string. 270 if (!isSet(YEAR)) { 274 final String yearField = "YEAR="; 286 int year = internalGet(YEAR) + BUDDHIST_YEAR_OFFSET;
|
/openjdk7/jdk/test/sun/security/tools/keytool/ |
H A D | StartDateTest.java | 45 int year = cal.get(Calendar.YEAR); 54 if (cal.get(Calendar.YEAR) != year + 1) {
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | JapaneseImperialCalendar.java | 142 * YEAR -292275055 1 ? ? 163 -292275055, // YEAR 182 0, // YEAR (initialized later) 201 292278994, // YEAR 267 LEAST_MAX_VALUES[YEAR] = year; // Max year could be smaller than this value. 371 if (field == YEAR) { 376 set(YEAR, d.getYear()); 384 set(YEAR, d.getYear()); 556 d.setDate(internalGet(YEAR), 582 case YEAR [all...] |
H A D | GregorianCalendar.java | 181 * <code>YEAR<br></code> 275 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR)); 300 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR)); 417 * YEAR 1 1 292269054 292278994 438 1, // YEAR 457 292269054, // YEAR 476 292278994, // YEAR 628 * @param year the value used to set the <code>YEAR</cod [all...] |
H A D | Calendar.java | 63 * #fields calendar fields} such as <code>YEAR</code>, <code>MONTH</code>, 163 * YEAR + MONTH + DAY_OF_MONTH 164 * YEAR + MONTH + WEEK_OF_MONTH + DAY_OF_WEEK 165 * YEAR + MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK 166 * YEAR + DAY_OF_YEAR 167 * YEAR + DAY_OF_WEEK + WEEK_OF_YEAR 181 * of the start of the Epoch: i.e., <code>YEAR = 1970</code>, <code>MONTH = 331 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 353 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 376 public final static int YEAR field in class:Calendar [all...] |
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | WeekDateTest.java | 147 if (gcal.get(YEAR) != 2008 151 gcal.get(YEAR),
|
/openjdk7/jdk/test/java/util/TimeZone/ |
H A D | DaylightTimeTest.java | 84 cal.add(YEAR, 50);
|
/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | concise_jarsigner.sh | 62 YEAR=`date +%Y` 99 LINES=`$JARSIGNER -verify a.jar -verbose | grep $YEAR | wc -l` 103 LINES=`$JARSIGNER -verify a.jar -verbose:grouped | grep $YEAR | wc -l` 107 LINES=`$JARSIGNER -verify a.jar -verbose:summary | grep $YEAR | wc -l` 115 LINES=`$JARSIGNER -verify a.jar -verbose:summary -certs | grep $YEAR | wc -l`
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | DayDV.java | 69 date.year=YEAR;
|
H A D | MonthDV.java | 69 date.year=YEAR;
|
H A D | TimeDV.java | 70 date.year=YEAR;
|
H A D | BaseDVFactory.java | 157 final String YEAR = "gYear"; 176 types.put(YEAR, new XSSimpleTypeDecl(anySimpleType, YEAR, XSSimpleTypeDecl.DV_GYEAR, XSSimpleType.ORDERED_PARTIAL, false, false, false, true, XSConstants.GYEAR_DT));
|
H A D | MonthDayDV.java | 72 date.year=YEAR;
|
H A D | BaseSchemaDVFactory.java | 95 final String YEAR = "gYear"; 118 builtInTypes.put(YEAR, new XSSimpleTypeDecl(baseAtomicType, YEAR, XSSimpleTypeDecl.DV_GYEAR, XSSimpleType.ORDERED_PARTIAL, false, false, false, true, XSConstants.GYEAR_DT));
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SpinnerDateModel.java | 55 * <li><code>Calendar.YEAR</code> 99 case Calendar.YEAR: 147 * <li><code>Calendar.YEAR</code> 320 * <li><code>Calendar.YEAR</code>
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/ |
H A D | ExsltDatetime.java | 255 double yr = getNumber(datetime, formats, Calendar.YEAR); 268 return cal.get(Calendar.YEAR); 608 double dbl = getNumber(datetime, formats, Calendar.YEAR); 621 int yr = (int)cal.get(Calendar.YEAR);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | XMLGregorianCalendarImpl.java | 258 private static final int YEAR = 0; field in class:XMLGregorianCalendarImpl 297 * field names indexed by YEAR..TIMEZONE. 606 * <th><code>ERA == GregorianCalendar.BC ? -YEAR : YEAR</code></th> 645 int year = cal.get(Calendar.YEAR); 2070 fieldUndefined[YEAR] = true; 2229 for (int i = YEAR; i <= SECOND; i++) { 2232 case YEAR: 2333 * <th><code>YEAR</code></th> 2384 * <li>Its fields ERA, YEAR, MONT [all...] |
H A D | DurationImpl.java | 397 int2long = gregorianCalendar.get(Calendar.YEAR) - 1970; 869 lhsCalendar.add(GregorianCalendar.YEAR, getYears() * getSign()); 884 rhsCalendar.add(GregorianCalendar.YEAR, rhs.getYears() * rhs.getSign()); 1445 c.add(Calendar.YEAR, getYears() * signum); 1923 calendar.add(Calendar.YEAR, getYears() * signum);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KerberosTime.java | 172 return zeroPad(Integer.toString(calendar.get(Calendar.YEAR)), 4) +
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | HttpCookie.java | 1146 int year = cal.get(Calendar.YEAR); 1153 cal.set(Calendar.YEAR, year);
|