Hi Chris!

Wo bekomme ich den Quellcode vom Mono Projekt?

mfg Klaus

-----Urspr�ngliche Nachricht-----
Von: Christoph Wille [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 08. J�nner 2002 08:52
An: aspDEdotnet
Betreff: [aspdedotnet] Re: Schaltjahr


btw, und wen's interessiert wie man's selbst implementieren k�nnte:

public static bool IsLeapYear (int year)
{
   return  ( (year % 4 == 0 && year % 100 != 0) || year % 400 == 0) ;
}

Stammt aus dem Mono CVS, mcs/class/corlib/System/DateTime.cs

Chris

At 08:43 AM 1/8/2002 +0100, you wrote:
>public static bool DateTime.IsLeapYear(int nYear)
>
>so simpel...
>
>Chris
>
>At 08:23 AM 1/8/2002 +0100, you wrote:
>>Hallo Gruppe!
>>
>>Wie kann ich ermitteln, ob das aktuelle Jahr ein Schaltjahr ist?
>>
>>mfg Aschenbrenner Klaus


| [aspdedotnet] als [EMAIL PROTECTED] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp

| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp

Antwort per Email an