Class Time

    • Field Detail

      • __doc__

        public static final PyString __doc__
      • timezone

        public static int timezone
      • altzone

        public static int altzone
      • daylight

        public static int daylight
      • tzname

        public static PyTuple tzname
    • Constructor Detail

      • Time

        public Time()
    • Method Detail

      • classDictInit

        public static void classDictInit​(PyObject dict)
      • time

        public static double time()
      • clock

        public static double clock()
        Returns:
        - the seconds elapsed since the first call to this function
      • mktime

        public static double mktime​(PyTuple tup)
      • parseTimeDoubleArg

        public static double parseTimeDoubleArg​(PyObject arg)
        Convert a time argument that may be an optional float or None value to a double. Throws a TypeError on failure.
        Parameters:
        arg - a PyObject number of None
        Returns:
        a double value
      • localtime

        public static PyTuple localtime()
      • gmtime

        public static PyTuple gmtime()
      • ctime

        public static PyString ctime()
      • asctime

        public static PyString asctime()
      • locale_asctime

        public static java.lang.String locale_asctime​(PyTuple tup)
      • sleep

        public static void sleep​(double secs)
      • strftime

        public static PyString strftime​(java.lang.String format)
      • strftime

        public static PyString strftime​(java.lang.String format,
                                        PyTuple tup)
      • strptime

        public static PyTuple strptime​(java.lang.String data_string)
      • strptime

        public static PyTuple strptime​(java.lang.String data_string,
                                       java.lang.String format)