Searched refs:hours (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDurationDayTimeImpl.java60 BigInteger hours,
64 super(isPositive, null, null, days, hours, minutes, seconds);
71 int hours,
78 wrap(hours),
186 hours = BigInteger.valueOf((long) getHours()).add(BigInteger.ONE);
191 hours = hours.subtract(BigInteger.valueOf(24));
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,
177 protected BigInteger hours; field in class:DurationImpl
211 && (hours == null || hours.signum() == 0)
236 * @param hours of this <code>Duration</code>
241 * If years, months, days, hours, minutes and
250 BigInteger hours,
257 this.hours = hours;
267 && hours
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.java149 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
161 * @param hours of this <code>Duration</code>
172 * BigInteger hours, BigInteger minutes, BigDecimal seconds)
179 final BigInteger hours,
188 hours,
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.java144 hours = null;
H A DXMLGregorianCalendarImpl.java157 * Value range from -14 hours (-14 * 60 minutes) to 14 hours (14 * 60 minutes).
675 * @param hours of <code>dateTime</code>
693 int hours,
703 hours,
754 * @param hours of <code>dateTime</code>
771 int hours,
781 hours,
827 * @param hours number of hours
689 createDateTime( BigInteger year, int month, int day, int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone) argument
767 createDateTime( int year, int month, int day, int hours, int minutes, int seconds, int milliseconds, int timezone) argument
840 createTime( int hours, int minutes, int seconds, int timezone) argument
874 createTime( int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone) argument
909 createTime( int hours, int minutes, int seconds, int milliseconds, int timezone) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DCalendarDate.java74 private int hours; field in class:CalendarDate
219 return hours;
222 public CalendarDate setHours(int hours) { argument
223 if (this.hours != hours) {
224 this.hours = hours;
232 hours += n;
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
320 setHours(hours);
327 addTimeOfDay(int hours, int minutes, int seconds, int millis) argument
[all...]
H A DImmutableGregorianDate.java101 public CalendarDate setHours(int hours) { argument
157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
H A DAbstractCalendar.java242 int hours = time / HOUR_IN_MILLIS;
248 cdate.setHours(hours);
253 if (hours < 24 && normalizedState) {
/openjdk7/jaxp/src/javax/xml/datatype/
H A DDatatypeFactory.java251 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
265 * @param hours of this <code>Duration</code>
281 final BigInteger hours,
287 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
296 * @param hours of this <code>Duration</code>
310 * BigInteger hours,
319 final int hours,
332 // hours may not be set
333 BigInteger realHours = (hours != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) hours)
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
958 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int timezone) argument
996 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) argument
1034 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
H A DDuration.java41 * which consists of six fields (years, months, days, hours,
449 * "-(1 hour,50 minutes)" + "-20 minutes" = "-(1 hours,70 minutes)"
450 * "15 hours" + "-3 days" = "-(2 days,9 hours)"
580 * "-(1 hour,50 minutes)" - "-20 minutes" = "-(1hours,30 minutes)"
581 * "15 hours" - "-3 days" = "3 days and 15 hours"
670 * which will be carried down to "PT12H" (12 hours).
723 * <li>the computed days, along with the hours, minutes and seconds
781 * <p>For example, "P1D" (one day) > "PT12H" (12 hours) an
[all...]
/openjdk7/jdk/test/java/rmi/reliability/scripts/
H A Drun_juicer.ksh28 # the juicer test for a certain number of hours. This
69 -maxLevel 9 -hours ${NHOURS} -othervm -exit \
/openjdk7/jdk/src/share/classes/java/util/
H A DTimeZone.java96 * hours and ten minutes ahead of GMT, respectively.
272 * hours).
864 int hours = 0;
877 hours = num;
894 hours = num;
897 hours = num / 100;
905 if (hours > 23 || num > 59) {
908 int gmtOffset = (hours * 60 + num) * 60 * 1000;
H A DDate.java95 * year, month, date, hours, minutes, and seconds values, the
208 * @param hrs the hours between 0-23.
231 * @param hrs the hours between 0-23.
302 * @param hrs the hours between 0-23.
350 * 13:30:00 GMT+0430" (4 hours, 30 minutes west of the Greenwich
369 * in hours. Otherwise, it is regarded as an offset in minutes,
373 * <tt>-5</tt> occurring in the string would mean "five hours west
374 * of Greenwich" and <tt>+0430</tt> would mean "four hours and
432 * North America that is five, six, seven, or eight hours west of
800 * @param hours th
806 setHours(int hours) argument
[all...]
H A DGregorianCalendar.java317 * + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000))); // in hours
319 * + (calendar.get(Calendar.DST_OFFSET)/(60*60*1000))); // in hours
977 delta *= 60 * 60 * 1000; // hours to minutes
1007 // and +12 or -12 hours (timeOfDay).
1158 int unit = max + 1; // 12 or 24 hours
2377 int hours = timeOfDay / ONE_HOUR;
2378 internalSet(HOUR_OF_DAY, hours);
2379 internalSet(AM_PM, hours / 12); // Assume AM == 0
2380 internalSet(HOUR, hours % 12);
H A DJapaneseImperialCalendar.java403 delta *= 60 * 60 * 1000; // hours to milliseconds
433 // and +12 or -12 hours (timeOfDay).
541 int unit = max + 1; // 12 or 24 hours
1673 int hours = timeOfDay / ONE_HOUR;
1674 internalSet(HOUR_OF_DAY, hours);
1675 internalSet(AM_PM, hours / 12); // Assume AM == 0
1676 internalSet(HOUR, hours % 12);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DFormatter.java55 long hours = remaining / HOUR;
61 days, hours, minutes);
64 hours, minutes);
/openjdk7/jdk/test/java/rmi/reliability/juicer/
H A DAppleUserImpl.java232 System.err.println("Usage: AppleUserImpl [-hours <hours> | " +
237 System.err.println(" hours The number of hours to run the juicer.");
238 System.err.println(" The default is 0 hours.");
268 if (arg.equals("-hours")) {
273 int hours = Integer.parseInt(args[i]);
274 durationString = hours + " hours";
275 testDuration = hours * 6
[all...]
/openjdk7/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DAppleUserImpl.java187 System.out.println("Usage: AppleUserImpl [-hours <hours> | " +
190 System.out.println(" hours The number of hours to run the juicer.");
191 System.out.println(" The default is 0 hours.");
215 if (arg.equals("-hours")) {
220 int hours = Integer.parseInt(args[i]);
221 durationString = hours + " hours";
222 testDuration = hours * 6
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DSimpleDateFormat.java1676 int hours;
1680 hours = c - '0';
1683 hours = hours * 10 + (c - '0');
1692 if (hours > 23) {
1718 minutes += hours * 60;
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsplugin.c434 Dest->tm_hour = _cmsAdjustEndianess16(Source->hours);
450 Dest->hours = _cmsAdjustEndianess16((cmsUInt16Number) Source->tm_hour);
H A Dlcms2.h574 cmsUInt16Number hours; member in struct:__anon860

Completed in 368 milliseconds