Merge branch 'BAEL-1599-v2' of https://github.com/eugenp/tutorials into BAEL-1599-v2
This commit is contained in:
commit
017dc92d50
@ -49,7 +49,7 @@ public class DaylightSavingTimeExamplesTest {
|
|||||||
|
|
||||||
//@formatter:off
|
//@formatter:off
|
||||||
System.out.println(String.format(
|
System.out.println(String.format(
|
||||||
" Zone ID = %s (%s)\n"
|
" Zone ID = %s (%s)\n"
|
||||||
+ " RawOffset = %s minutes\n"
|
+ " RawOffset = %s minutes\n"
|
||||||
+ " DST = %s minutes\n"
|
+ " DST = %s minutes\n"
|
||||||
+ " -----------------------------------------",
|
+ " -----------------------------------------",
|
||||||
|
@ -37,7 +37,7 @@ public class DaylightSavingTimeJavaTimeExamplesTest {
|
|||||||
private void prettyPrint(ZonedDateTime zdt) {
|
private void prettyPrint(ZonedDateTime zdt) {
|
||||||
//@formatter:off
|
//@formatter:off
|
||||||
System.out.println(String.format(
|
System.out.println(String.format(
|
||||||
" ZonedDateTime = %s\n"
|
" ZonedDateTime = %s\n"
|
||||||
+ " Zone ID = %s (%s)\n"
|
+ " Zone ID = %s (%s)\n"
|
||||||
+ " RawOffset = %s minutes\n"
|
+ " RawOffset = %s minutes\n"
|
||||||
+ " -----------------------------------------",
|
+ " -----------------------------------------",
|
||||||
@ -52,4 +52,5 @@ public class DaylightSavingTimeJavaTimeExamplesTest {
|
|||||||
System.out.println("Total java.util.TimeZone Id count : " + TimeZone.getAvailableIDs().length);
|
System.out.println("Total java.util.TimeZone Id count : " + TimeZone.getAvailableIDs().length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user