def testTime(self):
        """testing creation of Time"""

        # Java uses milliseconds and Python uses seconds, so adjust the time accordingly

        # seeded with Java
        c = self.calendar()
        o = zxJDBC.TimeFromTicks(c.getTime().getTime() / 1000L)
        v = zxJDBC.Time(c.get(Calendar.HOUR), c.get(Calendar.MINUTE), c.get(Calendar.SECOND))
        assert o.equals(v), (v.getTime(), o.getTime()) % "incorrect date conversion using java, got [%ld], expected [%ld]"

        # seeded with Python
        #t = time.time()
        #l = time.localtime(t)
        #o = zxJDBC.TimeFromTicks(t)
        #v = zxJDBC.Time(l[3], l[4], l[5])
        #assert o.equals(v), "incorrect date conversion using python, got [%ld], expected [%ld]" % (v.getTime(), o.getTime())
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/zxjdbc/zxtest.py/zxAPITestCase.testTime/swapped operands of `%`