Changeset 39


Ignore:
Timestamp:
Dec 27, 2006, 9:13:33 PM (18 years ago)
Author:
OverTaker
Message:

ケアレスミス修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/DateTime.ab

    r38 r39  
    88    m_Date As Int64
    99Public
    10     Static MaxValue = 3162240000000000000000 As Int64 'Const
    11     Static MinValue = 316224000000000000 As Int64 'Const
     10    Static MaxValue = 3162240000000000000 As Int64 'Const
     11    Static MinValue = 316224000000000 As Int64 'Const
    1212
    1313    Sub DateTime(ticks As Int64)
     
    270270        AddTicks(intValue * 315360000000000 + 864000000000 * ((year Mod 4 + intValue) \ 4 - (year Mod 100 + intValue) \ 100 + (year Mod 400 + intValue) \ 400))
    271271        If value < 0 Then
    272             If year Mod 4 + intValue <= 0 And year Mod 100 > 4 Then
     272            If (year Mod 4 + intValue <= 0 And year Mod 100 > 4) Or (year Mod 400 <= 4) Then
    273273                AddTicks(-864000000000)
    274274            End If
Note: See TracChangeset for help on using the changeset viewer.