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/Platform TimeMethods.cs,1.4,1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform TimeMethods.cs,1.4,1.5
Date: Sat, 19 Apr 2003 00:03:06 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv10170/runtime/Platform

Modified Files:
        TimeMethods.cs 
Log Message:


Add various missing classes.


Index: TimeMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/TimeMethods.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TimeMethods.cs      20 Nov 2001 04:27:40 -0000      1.4
--- TimeMethods.cs      19 Apr 2003 04:03:04 -0000      1.5
***************
*** 2,6 ****
   * TimeMethods.cs - Implementation of the "Platform.TimeMethods" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * TimeMethods.cs - Implementation of the "Platform.TimeMethods" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 38,48 ****
        extern public static long GetCurrentUtcTime();
  
!       // Get the number of seconds West of GMT for the local timezone.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public static int GetTimeZoneAdjust();
  
        // Get the number of milliseconds since the system was rebooted.
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern public static int GetUpTime();
  
  }; // class TimeMethods
--- 38,62 ----
        extern public static long GetCurrentUtcTime();
  
!       // Get the number of seconds West of GMT for the local timezone
!       // at a particular time.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public static int GetTimeZoneAdjust(long time);
  
        // Get the number of milliseconds since the system was rebooted.
        [MethodImpl(MethodImplOptions.InternalCall)]
        extern public static int GetUpTime();
+ 
+       // Get the daylight savings name for the local timezone.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern public static String GetDaylightName();
+ 
+       // Get the standard name for the local timezone.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern public static String GetStandardName();
+ 
+       // Get the daylight savings rules for a particular year.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern public static bool GetDaylightRules
+                       (int year, out long start, out long end, out long 
delta);
  
  }; // class TimeMethods





reply via email to

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