/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | ZoneInfo.java | 374 * @param year The year in the given date. 382 public int getOffset(int era, int year, int month, int day, argument 389 year = 1 - year; 395 date.setDate(year, month + 1, day); 541 // * @return the last year in the transition table or -1 if this
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KerberosTime.java | 127 int year = Integer.parseInt(time.substring(0, 4)); 130 calendar.set(year,
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/ |
H A D | DatatypeConverterImpl.java | 748 case 'Y': // year 786 int year = cal.get(Calendar.YEAR); 789 if (year <= 0) // negative value 791 s = Integer.toString(1 - year); 794 s = Integer.toString(year); 800 if (year <= 0) {
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Calendar.java | 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 141 * designate the week before week 1 of a year as week <code><i>n</i></code> of 142 * the previous year. 148 * year and month with no day of month), or there may be inconsistent 266 * adding 13 months to August gives September of the next year. Since 291 * year, and an underlying <code>GregorianCalendar</code>. If the 374 * year. This is a calendar-specific value; see subclass documentation. 381 * the year i 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...] |
H A D | TimeZone.java | 178 * @param year the year in the given date. 191 public abstract int getOffset(int era, int year, int month, int day, argument
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/ |
H A D | DatatypeConverterImpl.java | 912 case 'Y': // year 950 int year = cal.get(Calendar.YEAR); 953 if (year <= 0) // negative value 955 s = Integer.toString(1 - year); 958 s = Integer.toString(year); 964 if (year <= 0) {
|
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | p11_convert.c | 99 jYear = ckCharArrayToJCharArray(env, (CK_CHAR_PTR)(ckpDate->year), 4); 312 jFieldID = (*env)->GetFieldID(env, jDateClass, "year", "[C"); 334 ckpDate->year[0] = 0; 335 ckpDate->year[1] = 0; 336 ckpDate->year[2] = 0; 337 ckpDate->year[3] = 0; 354 ckpDate->year[i] = jCharToCKChar(jTempChars[i]);
|
H A D | p11_util.c | 1018 TRACE3("<converted date value %.4s-%.2s-%.2s>", (*((CK_DATE *) *ckpObjectPtr)).year, (*((CK_DATE *) *ckpObjectPtr)).month, (*((CK_DATE *) *ckpObjectPtr)).day);
|
H A D | pkcs11t.h | 568 CK_CHAR year[4]; /* the year ("1900" - "9999") */ member in struct:CK_DATE
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/ |
H A D | ExsltDatetime.java | 231 * The date:year function returns the year of a date as a number. If no 245 public static double year(String datetimeIn) method in class:ExsltDatetime 265 public static double year() method in class:ExsltDatetime 272 * The date:month-in-year function returns the month of a date as a number. If no argument 309 * The date:week-in-year function returns the week of the year as a number. If no argument 311 * default argument. For the purposes of numbering, counting follows ISO 8601: week 1 in a year 312 * is the week containing the first Thursday of the year, with new weeks beginning on a Monday. 343 * The date:day-in-year functio [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmsplugin.c | 437 Dest->tm_year = _cmsAdjustEndianess16(Source->year) - 1900; 453 Dest->year = _cmsAdjustEndianess16((cmsUInt16Number) (Source->tm_year + 1900));
|
H A D | lcms2.h | 571 cmsUInt16Number year; member in struct:__anon860
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.cpp | 164 const int year = 1900 + time_struct.tm_year; local 167 year,
|
/openjdk7/jdk/src/share/classes/sun/net/ftp/impl/ |
H A D | FtpClient.java | 102 // 0 - file, 1 - size, 2 - date, 3 - time, 4 - year, 5 - permissions, 218 int year = now.get(Calendar.YEAR); 224 // 0 - file, 1 - size, 2 - date, 3 - time, 4 - year, 232 fdate += (", " + String.valueOf(year));
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | png.c | 604 char number_buf[5]; /* enough for a four digit year */ 619 APPEND_NUMBER(PNG_NUMBER_FORMAT_u, ptime->year);
|
H A D | png.h | 340 * Libpng only has two year fields. One is a 2-byte unsigned integer 345 * "png_uint_16 year" in png_time_struct. 362 * clock time, which returns (year - 1900), which we properly convert to 363 * the full 4-digit year. There is a possibility that applications using 365 * function, or that they are incorrectly passing only a 2-digit year 366 * instead of "year - 1900" into the png_convert_from_struct_tm() function, 372 * integer to hold the year, and can hold years as large as 65535. 675 png_uint_16 year; /* full year, as in, 1995 */ member in struct:png_time_struct 676 png_byte month; /* month of year, [all...] |
H A D | pngwrite.c | 452 ptime->year = (png_uint_16)(1900 + ttime->tm_year);
|
H A D | pngrutil.c | 2140 mod_time.year = png_get_uint_16(buf);
|
H A D | pngwutil.c | 2019 png_save_uint_16(buf, mod_time->year);
|