|
From: Steven R. L. <sr...@ic...> - 2016-07-08 14:46:41
|
Can you include a minimum working example? You don't define date, utc, dst Enviado desde nuestro iPhone. > El jul 8, 2016, a las 2:40 AM, Florian Bachmair <flo...@gm...> escribió: > > Hi! > > I coded my programm on windows in Visual Studio. > > Now I copied the source code to a Linux machine and compiled it there. > > On Windows everything works just fine, but on Linux on every execution I get a different result for > > tz->getOffset((UDate)(date*1000), FALSE, utc, dst, ec); > > > I get completely different result for utc, and a different results for dst (+/- 2 ms) > > Some results for utc > > 106572176 > -1311627824 > 292099728 > -1128673168 > > I use icu_52_1 > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > icu-support mailing list - icu...@li... > To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support > Archives/Project Info: http://site.icu-project.org/contacts |