Commit 4d9efc41 by Tom Tromey Committed by Tom Tromey

* java/util/Date.java: Re-merged with Classpath.

From-SVN: r45421
parent 14cb2541
2001-09-05 Tom Tromey <tromey@redhat.com> 2001-09-05 Tom Tromey <tromey@redhat.com>
* java/util/Date.java: Re-merged with Classpath.
* java/text/DateFormatSymbols.java: Re-merged with Classpath. * java/text/DateFormatSymbols.java: Re-merged with Classpath.
2001-09-05 Corey Minyard <minyard@acm.org> 2001-09-05 Corey Minyard <minyard@acm.org>
......
...@@ -247,12 +247,13 @@ public class Date implements Cloneable, Comparable, java.io.Serializable ...@@ -247,12 +247,13 @@ public class Date implements Cloneable, Comparable, java.io.Serializable
return (int) time ^ (int) (time >>> 32); return (int) time ^ (int) (time >>> 32);
} }
private String[] weekNames = { "Sun", "Mon", "Tue", "Wed", private static final String[] weekNames = { "Sun", "Mon", "Tue", "Wed",
"Thu", "Fri", "Sat" }; "Thu", "Fri", "Sat" };
private String[] monthNames = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", private static final String[] monthNames = { "Jan", "Feb", "Mar", "Apr",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; "May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec" };
public String toString() public String toString()
{ {
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment