dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System DateTime.cs,1.14,1.15


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System DateTime.cs,1.14,1.15
Date: Mon, 04 Nov 2002 19:51:44 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv27170/runtime/System

Modified Files:
        DateTime.cs 
Log Message:


Change to "DateToTicks" to correct for the change Richard made to "YearToTicks".


Index: DateTime.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DateTime.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** DateTime.cs 27 Oct 2002 05:44:08 -0000      1.14
--- DateTime.cs 5 Nov 2002 00:51:40 -0000       1.15
***************
*** 93,97 ****
                                                unchecked
                                                {
!                                                       result = 
YearToTicks(year);
                                                        result += 
(long)(daysBeforeMonth[month - 1]);
                                                        if(month > 2 && isLeap)
--- 93,97 ----
                                                unchecked
                                                {
!                                                       result = 
(YearToTicks(year) / ticksPerDay);
                                                        result += 
(long)(daysBeforeMonth[month - 1]);
                                                        if(month > 2 && isLeap)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]