Why is there an attribute `AbsoluteDate aDate` in `FieldTransform`?


I was wondering why there is an attribute AbsoluteDate aDate in class FieldTransform.

There’s already an attribute FieldAbsoluteDate date and both hold the same values.
And the attribute aDate is just used through the method getDate() which we could replace with date.toAbsoluteDate().

Is it for a reason of performance that we have this duplicated date in the FieldTransform?


Yes, I think it is for performance reasons. May be not jusitified…

I thought so, thank you Luc.
Given the usage, which seems to be only for the getDate() method, I’m not 100% sure it’s justified either.
I could try comparing both implementations and run all tests to see if I get a major difference in performance.