lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-231) System.DateTime.Now.Millisecond bug
Date Wed, 11 Nov 2009 22:40:39 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776698#action_12776698
] 

Digy commented on LUCENENET-231:
--------------------------------

Example to failing cases:
Index.TestDeletionPolicy.TestExpirationTimeDeletionPolicy
Index.TestDeletionPolicy.TesKeepLastNDeletionPolicyWithCreates 
etc.

There may be others since there are a lof of references to that function.

DIGY



> System.DateTime.Now.Millisecond bug
> -----------------------------------
>
>                 Key: LUCENENET-231
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-231
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: 2.9.0
>            Reporter: Digy
>         Attachments: CurrentTimeMillis.patch
>
>
> There are too many places where Java's System.currentTimeMillis() has been ported as
 System.DateTime.Now.Millisecond.
> I will replace them with a new method in SupportClass
> {code}
> public static long CurrentTimeMillis()
> {
>     return DateTime.Now.Ticks / 10000;
> }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message