Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e8b3bcfd
Commit
e8b3bcfd
authored
Jul 31, 2001
by
Tom Tromey
Committed by
Tom Tromey
Jul 31, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/util/Date.java: Re-merged with Classpath.
From-SVN: r44497
parent
88828291
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
libjava/ChangeLog
+4
-0
libjava/java/util/Date.java
+2
-1
No files found.
libjava/ChangeLog
View file @
e8b3bcfd
2001-07-30 Tom Tromey <tromey@redhat.com>
* java/util/Date.java: Re-merged with Classpath.
2001-07-30 Jeff Sturm <jsturm@one-point.com>
2001-07-30 Jeff Sturm <jsturm@one-point.com>
* java/net/natPlainDatagramSocketImpl.cc: Undefine bind if defined.
* java/net/natPlainDatagramSocketImpl.cc: Undefine bind if defined.
...
...
libjava/java/util/Date.java
View file @
e8b3bcfd
...
@@ -667,7 +667,8 @@ public class Date implements Cloneable, Comparable, java.io.Serializable
...
@@ -667,7 +667,8 @@ public class Date implements Cloneable, Comparable, java.io.Serializable
{
{
Calendar
cal
=
Calendar
.
getInstance
();
Calendar
cal
=
Calendar
.
getInstance
();
cal
.
setTimeInMillis
(
time
);
cal
.
setTimeInMillis
(
time
);
return
cal
.
get
(
Calendar
.
DAY_OF_WEEK
);
// For Calendar, Sunday is 1. For Date, Sunday is 0.
return
cal
.
get
(
Calendar
.
DAY_OF_WEEK
)
-
1
;
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment