[Pki-devel] [PATCH] 0021-Remove-Deprecated-Date-Functions

Ade Lee alee at redhat.com
Tue Dec 6 16:00:18 UTC 2011


Ok, based on conversation with Adam.

ACK

On Tue, 2011-12-06 at 10:23 -0500, Adam Young wrote:
> On 12/05/2011 11:19 PM, Ade Lee wrote:
> > Adam,
> >
> > Maybe I'm missing something here, but why is it that :
> > old start != new start
> > old_end != new end
> > old != new
> 
> Because they only define the time down to the day,  and it is stored as 
> miliseconds,  so the least significant bits are meaningless.  Hence:
> 
> differenceDays = 0
> 
> is the real test.  I just tried to show my work how I got there.
> 
> >
> > and shouldn't they be equal?
> >
> > Ade
> >
> > On Mon, 2011-12-05 at 10:19 -0500, Adam Young wrote:
> >> Found a parsing error.
> >>
> >>
> >> This is the output that confirms that the code still works:
> >>
> >> old start = 934948800000
> >> new start = 934985539332
> >> differenceDays = 0
> >> old end   = 1337659200000
> >> new end   = 1337695939332
> >> differenceDays = 0
> >> instance Name old:R20111105101219
> >> instance Name new:R20111105101219
> >> date to z old:20111205101219Z
> >> date to z new:20111205101219Z
> >> old = 1021569630000
> >> new = 1021569630334
> >> old = 1021569630000
> >> new = 1021569630334
> >>
> >>
> >> Attached are the two files that produce that output;
> >> _______________________________________________
> >> Pki-devel mailing list
> >> Pki-devel at redhat.com
> >> https://www.redhat.com/mailman/listinfo/pki-devel
> >
> 





More information about the Pki-devel mailing list