Searched refs:with (Results 126 - 150 of 231) sorted by relevance

12345678910

/openjdk10/jaxp/test/javax/xml/jaxp/functional/catalog/
H A DDeferFeatureTest.java16 * 2 along with this work; if not, write to the Free Software Foundation,
85 // The 3 alternative catalogs are pre-loaded along with the parent
98 return CatalogFeatures.builder().with(DEFER, defer).build();
H A DResolveFeatureTest.java16 * 2 along with this work; if not, write to the Free Software Foundation,
130 return builder().with(Feature.RESOLVE, resolve).build();
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/xml/
H A DXmlCatalogUtil.java18 * 2 along with this work; if not, write to the Free Software Foundation,
51 = CatalogFeatures.builder().with(Feature.RESOLVE, "continue").build();
110 //Create CatalogResolver with new JDK9+ API
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/
H A DEra.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
98 * This interface must be implemented with care to ensure other classes operate correctly.
107 * Gets the numeric value associated with the era as defined by the chronology.
279 * with the era changed to be the same as this.
281 * The adjustment is equivalent to using {@link Temporal#with(TemporalField, long)}
285 * {@link Temporal#with(TemporalAdjuster)}:
289 * temporal = temporal.with(thisEra);
301 return temporal.with(ER
[all...]
H A DChronoZonedDateTime.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
93 * A date-time with a time-zone in an arbitrary chronology,
108 * interface, even in the case where the application needs to deal with multiple
115 * This interface must be implemented with care to ensure other classes operate correctly.
160 * {@link Chronology#zonedDateTime(TemporalAccessor)} with the extracted chronology.
225 * This returns a local date with the same year, month and day
237 * This returns a local time with the same hour, minute, second and
249 * This returns a local date with th
419 default ChronoZonedDateTime<D> with(TemporalAdjuster adjuster) { method in interface:ChronoZonedDateTime
429 ChronoZonedDateTime<D> with(TemporalField field, long newValue); method in interface:ChronoZonedDateTime
[all...]
H A DAbstractChronology.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
121 * This class must be implemented with care to ensure other classes operate correctly.
221 * @return the calendar system associated with the locale, not null
259 * @return the chronology with the identifier requested, not null
289 * @return the chronology with the identifier requested, or {@code null} if not found
477 .with(DAY_OF_MONTH, 1).with(PROLEPTIC_MONTH, pMonth);
535 return date(y, moy, 1).with(TemporalAdjuster
[all...]
H A DChronoZonedDateTimeImpl.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
87 * A date-time with a time-zone in the calendar neutral API.
89 * {@code ZoneChronoDateTime} is an immutable representation of a date-time with a time-zone.
284 public ChronoZonedDateTime<D> with(TemporalField field, long newValue) { method in class:ChronoZonedDateTimeImpl
294 return ofBest(dateTime.with(field, newValue), zone, offset);
303 return with(dateTime.plus(amountToAdd, unit));
H A DHijrahDate.java18 * 2 along with this work; if not, write to the Free Software Foundation,
31 * Redistribution and use in source and binary forms, with or without
39 * and/or other materials provided with the distribution.
223 * This returns a {@code HijrahDate} with the specified fields.
260 * Constructs an {@code HijrahDate} with the proleptic-year, month-of-year and
263 * @param chrono The chronology to create the date with
279 * Constructs an instance with the Epoch Day.
394 public HijrahDate with(TemporalField field, long newValue) { method in class:HijrahDate
417 return super.with(field, newValue);
435 public HijrahDate with(TemporalAdjuste method in class:HijrahDate
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/format/
H A DTCKDateTimeTextPrinting.java16 * 2 along with this work; if not, write to the Free Software Foundation,
34 * Redistribution and use in source and binary forms, with or without
42 * and/or other materials provided with the distribution.
142 dt = dt.with(field, value);
152 dt = dt.with(field, value);
178 assertEquals(f.format(dt.with(month)), map.get((long) month.getValue()));
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/
H A DModule_attribute.java18 * 2 along with this work; if not, write to the Free Software Foundation,
218 public ProvidesEntry(int provides, int[] with) { argument
220 this.with_count = with.length;
221 this.with_index = with;
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/catalog/
H A DCatalogTest.java16 * 2 along with this work; if not, write to the Free Software Foundation,
151 * Success: parsing goes through with no error
167 * Success: parsing goes through with no error
183 * Success: parsing goes through with no error
317 * Verifies that an URI reference with a urn:publicid is correctly resolved
318 * with an uri entry with a publicId.
367 CatalogFeatures features = CatalogFeatures.builder().with(CatalogFeatures.Feature.PREFER, prefer).build();
385 CatalogFeatures.builder().with(CatalogFeatures.Feature.PREFER, prefer).build(),
399 * in accordance with th
[all...]
/openjdk10/nashorn/samples/
H A DMain.asm4 * Redistribution and use in source and binary forms, with or without
13 * documentation and/or other materials provided with the distribution.
32 // Simple sample to demonstrate openjdk asmtools assembler with
72 // Bootstrap method used with invokedynamic methods
154 // Using bootstrap method in this class with the following invokedynamic
/openjdk10/jdk/test/java/time/tck/java/time/chrono/
H A DTCKThaiBuddhistChronology.java18 * 2 along with this work; if not, write to the Free Software Foundation,
31 * Redistribution and use in source and binary forms, with or without
39 * and/or other materials provided with the distribution.
316 jdate = jdate.with(ChronoField.YEAR, expectedProlepticYear).with(ChronoField.MONTH_OF_YEAR, 2);
364 // with(WithAdjuster)
369 ThaiBuddhistDate test = base.with(TemporalAdjusters.lastDayOfMonth());
376 ThaiBuddhistDate test = base.with(TemporalAdjusters.lastDayOfMonth());
386 ThaiBuddhistDate test = base.with(YEAR, 2554);
393 ThaiBuddhistDate test = base.with(YEAR_OF_ER
[all...]
H A DTCKChronoLocalDateTime.java18 * 2 along with this work; if not, write to the Free Software Foundation,
31 * Redistribution and use in source and binary forms, with or without
39 * and/or other materials provided with the distribution.
123 cdt.with(adjuster);
131 ChronoLocalDateTime<?> result = cdt.with(adjuster);
243 cdt.with(adjuster, 1);
251 ChronoLocalDateTime<?> result = cdt.with(adjuster, 1);
293 // Now compare the sequence of original dates with the sequence of converted dates
356 * Construct an adjuster with the Temporal that should be returned from adjust.
394 * Construct an FixedTemporalUnit with th
[all...]
H A DTCKChronoLocalDate.java18 * 2 along with this work; if not, write to the Free Software Foundation,
31 * Redistribution and use in source and binary forms, with or without
39 * and/or other materials provided with the distribution.
123 date.with(adjuster);
130 ChronoLocalDate result = date.with(adjuster);
240 date.with(adjuster, 1);
248 ChronoLocalDate result = date.with(adjuster, 1);
282 // Now compare the sequence of original dates with the sequence of converted dates
336 * Construct an adjuster with the Temporal that should be returned from adjust.
373 * Construct an FixedTemporalUnit with th
[all...]
/openjdk10/jdk/test/java/time/tck/java/time/
H A DTCKOffsetTime.java16 * 2 along with this work; if not, write to the Free Software Foundation,
34 * Redistribution and use in source and binary forms, with or without
42 * and/or other materials provided with the distribution.
714 // with(WithAdjuster)
725 assertEquals(TEST_11_30_59_500_PONE.with(adjuster), sample);
730 OffsetTime test = TEST_11_30_59_500_PONE.with(LocalTime.of(13, 30));
736 OffsetTime test = TEST_11_30_59_500_PONE.with(OffsetTime.of(13, 35, 0, 0, OFFSET_PTWO));
742 OffsetTime test = TEST_11_30_59_500_PONE.with(OFFSET_PTWO);
748 OffsetTime test = TEST_11_30_59_500_PONE.with(new TemporalAdjuster() {
751 return dateTime.with(HOUR_OF_DA
[all...]
H A DTCKLocalTime.java16 * 2 along with this work; if not, write to the Free Software Foundation,
34 * Redistribution and use in source and binary forms, with or without
42 * and/or other materials provided with the distribution.
798 // with(TemporalAdjuster)
809 assertEquals(TEST_12_30_40_987654321.with(adjuster), sample);
814 TEST_12_30_40_987654321.with((TemporalAdjuster) null);
818 // with(TemporalField, long)
834 // Returns a {@code LocalTime} with the specified nano-of-second.
839 LocalTime test = TEST_12_30_40_987654321.with(NANO_OF_SECOND, i);
847 // Returns a {@code LocalTime} with th
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/time/temporal/
H A DIsoFields.java18 * 2 along with this work; if not, write to the Free Software Foundation,
31 * Redistribution and use in source and binary forms, with or without
39 * and/or other materials provided with the distribution.
345 return (R) temporal.with(DAY_OF_YEAR, temporal.getLong(DAY_OF_YEAR) + (newValue - curValue));
421 return (R) temporal.with(MONTH_OF_YEAR, temporal.getLong(MONTH_OF_YEAR) + (newValue - curValue) * 3);
496 date = date.plusWeeks(Math.subtractExact(wowby, 1)).with(DAY_OF_WEEK, dow);
506 date = date.plusWeeks(wowby - 1).with(DAY_OF_WEEK, dow);
564 return (R) temporal.with(resolved);
705 return (R) temporal.with(WEEK_BASED_YEAR,
H A DJulianFields.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
83 * The fields work with all chronologies.
165 * This implementation is an integer version of MJD with the decimal part rounded to floor.
292 return (R) temporal.with(EPOCH_DAY, Math.subtractExact(newValue, offset));
/openjdk10/jdk/src/java.base/share/classes/java/time/
H A DInstant.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
133 * necessary in order to keep the day aligned with the Sun.
136 * Between 1958 and 1972, the definition of UTC was complex, with minor sub-second leaps and
138 * to change the definition of UTC again, with the potential to remove leap seconds or
166 * further notice, the consensus international time scale is UTC (with
435 * {@link #get(TemporalField) get} and {@link #with(TemporalField, long)}
638 * This returns an {@code Instant}, based on this one, with the instant adjusted.
649 * @return an {@code Instant} based on {@code this} with th
654 public Instant with(TemporalAdjuster adjuster) { method in class:Instant
703 public Instant with(TemporalField field, long newValue) { method in class:Instant
[all...]
H A DDayOfWeek.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
417 * with the day-of-week changed to be the same as this.
419 * The adjustment is equivalent to using {@link Temporal#with(TemporalField, long)}
423 * See {@code TemporalAdjuster} for other adjusters with more control,
427 * {@link Temporal#with(TemporalAdjuster)}:
431 * temporal = temporal.with(thisDayOfWeek);
436 * dateOnWed.with(MONDAY); // two days earlier
437 * dateOnWed.with(TUESDA
[all...]
H A DYear.java18 * 2 along with this work; if not, write to the Free Software Foundation,
36 * Redistribution and use in source and binary forms, with or without
44 * and/or other materials provided with the distribution.
105 * <b>Note that years in the ISO chronology only align with years in the
108 * As such, historical years must be treated with caution.</b>
302 * remainder. However, years divisible by 100, are not leap years, with
347 * {@link #get(TemporalField) get} and {@link #with(TemporalField, long)}
515 * remainder. However, years divisible by 100, are not leap years, with
557 * This returns a {@code Year}, based on this one, with the year adjusted.
568 * @return a {@code Year} based on {@code this} with th
573 public Year with(TemporalAdjuster adjuster) { method in class:Year
619 public Year with(TemporalField field, long newValue) { method in class:Year
[all...]
/openjdk10/jdk/test/java/time/test/java/time/
H A DTestMonthDay.java16 * 2 along with this work; if not, write to the Free Software Foundation,
34 * Redistribution and use in source and binary forms, with or without
42 * and/or other materials provided with the distribution.
101 assertSame(test.with(Month.JUNE), test);
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Daarch64_linkage.S16 # 2 along with this work; if not, write to the Free Software Foundation,
28 # of the ARM code buffer and patched with a link to the
94 // save rax -- this stack slot will be rewritten with a
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/
H A Dmodule-info.java18 * 2 along with this work; if not, write to the Free Software Foundation,
82 provides com.sun.tools.internal.xjc.Plugin with

Completed in 303 milliseconds

12345678910