Searched refs:days (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDurationDayTimeImpl.java59 BigInteger days,
64 super(isPositive, null, null, days, hours, minutes, seconds);
70 int days,
77 wrap(days),
101 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code> expressed only in terms of days and time.
142 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
192 days = BigInteger.valueOf((long) getDays()).add(BigInteger.ONE);
57 DurationDayTimeImpl( boolean isPositive, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
68 DurationDayTimeImpl( boolean isPositive, int days, int hours, int minutes, int seconds) argument
H A DDurationImpl.java44 * which consists of six fields (years, months, days, hours,
65 * <p>For example, 30 days cannot be meaningfully compared to one month.
79 * subtract 15 days from 1 month. See the javadoc of those methods
172 protected BigInteger days; field in class:DurationImpl
210 && (days == null || days.signum() == 0)
235 * @param days of this <code>Duration</code>
241 * If years, months, days, hours, minutes and
249 BigInteger days,
256 this.days
245 DurationImpl( boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
327 DurationImpl( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
[all...]
H A DDatatypeFactoryImpl.java135 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
149 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
160 * @param days of this <code>Duration</code>
171 * @see #newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days,
178 final BigInteger days,
187 days,
315 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
350 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code> expressed only in terms of days and time.
390 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
174 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
H A DDurationYearMonthImpl.java131 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
143 days = null;
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DFileTime.java69 * The value in days and excess nanos (created lazily)
179 // hashcode of days/nanos representation to satisfy contract with equals
200 // compare using days/nanos representation when unit differs
239 // nothing to do when seconds/minutes/hours/days
293 * Represents a FileTime's value as two longs: the number of days since
308 * The value (in days) since the epoch; can be negative.
310 private final long days; field in class:FileTime.DaysAndNanos
313 * The excess (in nanoseconds); can be negative if days <= 0.
332 this.days = unit.toDays(value);
333 this.excessNanos = unit.toNanos(value - (this.days * scal
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DAbstractCalendar.java56 // The number of days between January 1, 1 and January 1, 1970 (Gregorian)
119 long days = 0; // fixed date
137 // days should be 0 and ms is in the range of -13:00 to
139 days = zoneOffset / DAY_IN_MILLIS;
146 days += millis / DAY_IN_MILLIS;
151 ++days;
157 --days;
162 days += EPOCH_OFFSET;
165 getCalendarDateFromFixedDate(date, days);
376 long days
[all...]
H A DJulianCalendar.java160 long days = JULIAN_EPOCH - 1 + (365 * (y - 1)) + dayOfMonth;
163 days += (y - 1) / 4;
166 days += CalendarUtils.floorDivide(y - 1, 4);
169 days += ((367 * (long) month) - 362) / 12;
171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12);
174 days -= CalendarUtils.isJulianLeapYear(jyear) ? 1 : 2;
179 cache.setCache(jyear, days, CalendarUtils.isJulianLeapYear(jyear) ? 366 : 365);
182 return days;
H A DBaseCalendar.java233 int days = normalizeTime(bdate);
235 long d = (long)bdate.getDayOfMonth() + days;
299 * @return a year length in days
333 int days = DAYS_IN_MONTH[month];
335 days++;
337 return days;
386 long days = dayOfMonth;
389 days += (365 * prevyear)
395 days += (365 * prevyear)
403 days
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathValidator/nameConstraints/
H A Dgenerate.sh39 -config openssl.cnf -reqexts cert_issuer -days 7650 \
51 -days 7650 -passin pass:passphrase -passout pass:passphrase
56 -CAserial root/root_cert.srl -days 7200 -passin pass:passphrase
67 -subj "/C=US/O=Example/OU=Class-1/CN=Alice" -days 7650 \
74 -CAserial subca/subca_cert.srl -days 7200 -passin pass:passphrase
85 -subj "/C=US/O=Example/OU=Class-1/CN=Bob" -days 7650 \
92 -CAserial subca/subca_cert.srl -days 7200 -passin pass:passphrase
103 -subj "/C=US/O=Example/OU=Class-1/CN=Susan" -days 7650 \
110 -CAserial subca/subca_cert.srl -days 7200 -passin pass:passphrase
/openjdk7/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/
H A Dgenerate.sh42 -config openssl.cnf -reqexts cert_issuer -days 7650 -sha1 \
48 -config openssl.cnf -reqexts cert_issuer -days 7650 -sha1 \
54 -config openssl.cnf -reqexts cert_issuer -days 7650 -md2 \
58 -out root/root_crlissuer_req.pem -subj "/C=US/O=Example" -days 7650 \
64 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
80 -days 7650 -passin pass:passphrase -passout pass:passphrase
85 -days 7650 -passin pass:passphrase -passout pass:passphrase
92 -CAserial root/root_cert.srl -days 7200 -passin pass:passphrase
99 -CAserial root/root_cert.srl -days 7200 -passin pass:passphrase
106 -CAserial root/root_cert.srl -days 720
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathBuilder/selfIssued/
H A Dgenerate.sh38 -config openssl.cnf -reqexts cert_issuer -days 7650 \
49 -out root/top_crlissuer_req.pem -subj "/C=US/O=Example" -days 7650 \
55 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
67 -days 7650 -passin pass:passphrase -passout pass:passphrase
72 -CAserial root/root_cert.srl -days 7200 -passin pass:passphrase
76 -days 7650 -passin pass:passphrase -passout pass:passphrase
81 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
93 -days 7650 -passin pass:passphrase -passout pass:passphrase
98 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
103 -days 765
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathValidator/indirectCRL/
H A Dgenerate.sh38 -config openssl.cnf -reqexts cert_issuer -days 7650 \
49 -out root/top_crlissuer_req.pem -subj "/C=US/O=Example" -days 7650 \
55 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
67 -days 7650 -passin pass:passphrase -passout pass:passphrase
72 -CAserial root/root_cert.srl -days 7200 -passin pass:passphrase
76 -days 7650 -passin pass:passphrase -passout pass:passphrase
81 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
93 -days 7650 -passin pass:passphrase -passout pass:passphrase
98 -CAcreateserial -CAserial root/root_cert.srl -days 7200 \
103 -days 765
[all...]
/openjdk7/jaxp/src/javax/xml/datatype/
H A DDatatypeFactory.java240 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
251 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
264 * @param days of this <code>Duration</code>
280 final BigInteger days,
287 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
295 * @param days of this <code>Duration</code>
309 * BigInteger days,
318 final int days,
329 // days may not be set
330 BigInteger realDays = (days !
276 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
314 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
[all...]
H A DDuration.java41 * which consists of six fields (years, months, days, hours,
63 * <p>For example, 30 days cannot be meaningfully compared to one month.
75 * subtract 15 days from 1 month. See the javadoc of those methods
447 * "1 day" + "-3 days" = "-2 days"
450 * "15 hours" + "-3 days" = "-(2 days,9 hours)"
578 * "1 day" - "-3 days" = "4 days"
581 * "15 hours" - "-3 days"
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DFormatter.java53 long days = remaining / DAY;
61 days, hours, minutes);
/openjdk7/jdk/src/share/classes/java/util/
H A DGregorianCalendar.java98 * getMinimalDaysInFirstWeek()} days from that year. It thus depends
120 * Therefore, the first and last days of a week year may have
127 * on January 4, 1998. The week year is 1998 for the last three days
130 * ends on January 10, 1998; the first three days of 1998 then are
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
141 * not start on <code>getFirstDayOfWeek()</code>, and will not include days of
147 * January 1998 is Sunday, January 4 through Saturday, January 10. These days
331 * The epoch is the number of days o
[all...]

Completed in 2876 milliseconds