OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isoDate
(Results
1 - 8
of
8
) sorted by null
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestIsoChronoImpl.java
97
LocalDate
isoDate
= IsoChronology.INSTANCE.date(isoStartDate);
100
cal.set(Calendar.YEAR,
isoDate
.get(YEAR));
101
cal.set(Calendar.MONTH,
isoDate
.get(MONTH_OF_YEAR) - 1);
102
cal.set(Calendar.DAY_OF_MONTH,
isoDate
.get(DAY_OF_MONTH));
104
while (
isoDate
.isBefore(isoEndDate)) {
105
assertEquals(
isoDate
.get(DAY_OF_MONTH), cal.get(Calendar.DAY_OF_MONTH), "Day mismatch in " +
isoDate
+ "; cal: " + cal);
106
assertEquals(
isoDate
.get(MONTH_OF_YEAR), cal.get(Calendar.MONTH) + 1, "Month mismatch in " +
isoDate
);
107
assertEquals(
isoDate
.get(YEAR_OF_ERA), cal.get(Calendar.YEAR), "Year mismatch in " + isoDate)
[
all
...]
/libcore/ojluni/src/main/java/java/time/chrono/
JapaneseDate.java
132
private final transient LocalDate
isoDate
;
321
* @param
isoDate
the standard local date, validated not null
323
JapaneseDate(LocalDate
isoDate
) {
324
if (
isoDate
.isBefore(MEIJI_6_ISODATE)) {
327
LocalGregorianCalendar.Date jdate = toPrivateJapaneseDate(
isoDate
);
330
this.
isoDate
=
isoDate
;
335
* and {@code era} and {@code year} must agree with {@code
isoDate
}.
339
* @param
isoDate
the standard local date, validated not null
341
JapaneseDate(JapaneseEra era, int year, LocalDate
isoDate
) {
[
all
...]
MinguoDate.java
112
private final transient LocalDate
isoDate
;
204
* @param
isoDate
the standard local date, validated not null
206
MinguoDate(LocalDate
isoDate
) {
207
Objects.requireNonNull(
isoDate
, "
isoDate
");
208
this.
isoDate
=
isoDate
;
248
return
isoDate
.lengthOfMonth();
261
return
isoDate
.range(field);
290
return
isoDate
.getLong(field)
[
all
...]
ThaiBuddhistDate.java
112
private final transient LocalDate
isoDate
;
204
* @param
isoDate
the standard local date, validated not null
206
ThaiBuddhistDate(LocalDate
isoDate
) {
207
Objects.requireNonNull(
isoDate
, "
isoDate
");
208
this.
isoDate
=
isoDate
;
248
return
isoDate
.lengthOfMonth();
261
return
isoDate
.range(field);
290
return
isoDate
.getLong(field)
[
all
...]
JapaneseEra.java
150
LocalDate
isoDate
= LocalDate.of(date.getYear(), date.getMonth(), date.getDayOfMonth());
151
KNOWN_ERAS[i] = new JapaneseEra(i - ERA_OFFSET + 1,
isoDate
);
268
static sun.util.calendar.Era privateEraFrom(LocalDate
isoDate
) {
271
if (
isoDate
.compareTo(era.since) >= 0) {
/libcore/ojluni/src/test/java/time/tck/java/time/
TestIsoChronology.java
149
public void test_toLocalDate(LocalDate
isoDate
, LocalDate iso) {
150
assertEquals(LocalDate.from(
isoDate
), iso);
154
public void test_fromCalendrical(LocalDate
isoDate
, LocalDate iso) {
155
assertEquals(IsoChronology.INSTANCE.date(iso),
isoDate
);
223
//
ISODate
.with(Local*)
227
LocalDate
isoDate
= IsoChronology.INSTANCE.date(1726, 1, 4);
228
LocalDate test =
isoDate
.with(LocalDate.of(2012, 7, 6));
234
LocalDate
isoDate
= IsoChronology.INSTANCE.date(1726, 1, 4);
235
assertEquals(IsoChronology.INSTANCE.date(1726, 4, 4),
isoDate
.with(Month.APRIL));
239
// LocalDate.with(
ISODate
)
[
all
...]
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
TCKChronoPeriod.java
211
ChronoLocalDate
isoDate
= LocalDate.of(2000, 1, 1);
214
period.addTo(
isoDate
);
229
ChronoLocalDate
isoDate
= LocalDate.of(2000, 1, 1);
232
period.subtractFrom(
isoDate
);
/packages/apps/ExactCalculator/src/com/android/calculator2/
Evaluator.java
[
all
...]
Completed in 289 milliseconds