On 01/08/2016 07:59, Michael Van Canneyt wrote:
But that would create duplicated code of LocalTimeToUniversal, UnixToDateTime, IncMilliSecond functions in SysUtils and DateUtils.

So what ? It is essentially A+B*C or some variant of that.

I try to avoid code duplication, which unnecessarily increases maintenance efforts.

Since you seem reluctant, no problem, I will do it myself.

I'm asking for guidance to make sure I do it the right way.

Is it really so bad to include DateUtils in RTL?

Denis
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to