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.18,1.19


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System DateTime.cs,1.18,1.19
Date: Tue, 11 Feb 2003 10:23:58 -0500

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

Modified Files:
        DateTime.cs 
Log Message:
Patch #1089 -- Yannis Bres (Gopal.V) , use DayOfWeek enum for 
DateTime.DayOfWeek field


Index: DateTime.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DateTime.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** DateTime.cs 2 Feb 2003 16:37:02 -0000       1.18
--- DateTime.cs 11 Feb 2003 15:23:55 -0000      1.19
***************
*** 715,719 ****
                                }
                        }
!       public int DayOfWeek
                        {
                                get
--- 715,719 ----
                                }
                        }
!       public System.DayOfWeek DayOfWeek
                        {
                                get
***************
*** 721,725 ****
                                        unchecked
                                        {
!                                               return (int)(((value_ / 
ticksPerDay) + 1) % 7);
                                        }
                                }
--- 721,725 ----
                                        unchecked
                                        {
!                                               return 
(System.DayOfWeek)(((value_ / ticksPerDay) + 1) % 7);
                                        }
                                }





reply via email to

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