Re: [fpc-devel] "Default" discussion for SmartPointers etc

2016-08-01 Thread Maciej Izak
2016-07-26 21:59 GMT+02:00 Sven Barth : > First of let me tell you that in essence and in general I'm in support > of your "default" idea > Not only you Sven ;) I found interesting comment by Allen Bauer, seems like "default" idea is right direction. Completely

Re: [fpc-devel] NowUTC in FPC

2016-08-01 Thread Michael Van Canneyt
On Mon, 1 Aug 2016, Denis Kozlov wrote: 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

Re: [fpc-devel] NowUTC in FPC

2016-08-01 Thread Denis Kozlov
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

Re: [fpc-devel] NowUTC in FPC

2016-08-01 Thread Michael Van Canneyt
On Mon, 1 Aug 2016, Denis Kozlov wrote: On 30/07/2016 17:45, Michael Van Canneyt wrote: I don't see why you cannot perform simple additions in sysutils. But that would create duplicated code of LocalTimeToUniversal, UnixToDateTime, IncMilliSecond functions in SysUtils and DateUtils. So