mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
parent
749c4a054b
commit
170d8a7fae
12 changed files with 62 additions and 61 deletions
|
@ -110,7 +110,7 @@ import java.util.Objects;
|
|||
* int year = date.get(ChronoField.YEAR);
|
||||
* System.out.printf(" Today is %s %s %d-%s-%d%n", date.getChronology().getID(),
|
||||
* dow, day, month, year);
|
||||
|
||||
*
|
||||
* // Print today's date and the last day of the year
|
||||
* ChronoLocalDate now1 = Chronology.of("Hijrah").dateNow();
|
||||
* ChronoLocalDate first = now1.with(ChronoField.DAY_OF_MONTH, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue