Ice Time Libraries

in Help Center
Best Answer
-
bernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
Hi Renato,
We provide the C++ class
IceUtil::Time
because a long time ago there was no standard C++ time class. You should use instead the chrono library. See for example the C++ latency demo:
https://github.com/zeroc-ice/ice-demos/blob/3.7/cpp11/Ice/latency/Client.cppWe don't provide classes comparable to
IceUtil::Time
for Java or Python. We just use the language "time" support, for example:
https://github.com/zeroc-ice/ice-demos/blob/3.7/python/Ice/latency/Client.pyBest regards,
Bernard0
Answers
Hi Renato,
We provide the C++ class
IceUtil::Time
because a long time ago there was no standard C++ time class. You should use instead the chrono library. See for example the C++ latency demo:https://github.com/zeroc-ice/ice-demos/blob/3.7/cpp11/Ice/latency/Client.cpp
We don't provide classes comparable to
IceUtil::Time
for Java or Python. We just use the language "time" support, for example:https://github.com/zeroc-ice/ice-demos/blob/3.7/python/Ice/latency/Client.py
Best regards,
Bernard
Thanks for the info Bernard