diff options
| author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:43:45 +0000 |
|---|---|---|
| committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:43:45 +0000 |
| commit | ad2eba2657654b8a011c66d3a06bdbdb43033516 (patch) | |
| tree | e707496e9d85fb88cda71972a74e18f56f9a75e6 /libjava/classpath/gnu/java/security/PolicyFile.java | |
| parent | d8bd83391eb83e037875487d5b200375348c3994 (diff) | |
| download | ppe42-gcc-ad2eba2657654b8a011c66d3a06bdbdb43033516.tar.gz ppe42-gcc-ad2eba2657654b8a011c66d3a06bdbdb43033516.zip | |
2007-09-26 Hristian Kirtchev <kirtchev@adacore.com>
* g-calend.adb (Has_53_Weeks): Rename to Last_Year_Has_53_Weeks. Add a
call to Jan_1_Day _Of_Week to optimize its performance.
(Is_Leap): Move the routine to the scope of Week_In_Year.
(Jan_1_Day_Of_Week): New routine in Week_In_Year which calculates the
weekday on which January 1 falls of Year - 1 and Year + 1. This function
avoids calling Time_Of and Split, thus making it more efficent.
(Week_In_Year): Reimplemented in oder to follow ISO 8601.
* g-calend.ads (Week_In_Year): Change comment to reflect new
implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128790 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/security/PolicyFile.java')
0 files changed, 0 insertions, 0 deletions

