< prev index next >

src/java.base/share/classes/java/util/GregorianCalendar.java

Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -165,11 +165,11 @@
  *     <tr>
  *       <th scope="col">
  *          Field
  *       </th>
  *       <th scope="col">
-            Default Value
+ *          Default Value
  *       </th>
  *     </tr>
  *   </thead>
  *   <tbody>
  *     <tr>

@@ -294,11 +294,10 @@
  * System.out.println("MILLISECOND: " + calendar.get(Calendar.MILLISECOND));
  * System.out.println("ZONE_OFFSET: "
  *                    + (calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000)));
  * System.out.println("DST_OFFSET: "
  *                    + (calendar.get(Calendar.DST_OFFSET)/(60*60*1000)));
-
  * System.out.println("Current Time, with hour reset to 3");
  * calendar.clear(Calendar.HOUR_OF_DAY); // so doesn't override
  * calendar.set(Calendar.HOUR, 3);
  * System.out.println("ERA: " + calendar.get(Calendar.ERA));
  * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
< prev index next >