[Top][All Lists]
[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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform TimeMethods.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/resources/en_US/runtime Arg.txt,1.35,1.36 Exception.txt,1.18,1.19 NotSupp.txt,1.13,1.14
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.859,1.860
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/resources/en_US/runtime Arg.txt,1.35,1.36 Exception.txt,1.18,1.19 NotSupp.txt,1.13,1.14
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.859,1.860
- Index(es):