Class Time.Tm

    • Constructor Detail

      • Tm

        public Tm()
      • Tm

        public Tm​(boolean clearMem)
    • Method Detail

      • sizeof

        @SizeOf
        public static int sizeof()
        Get the real size of struct tm natively.
        Returns:
        the native value sizeof(struct tm).
      • alignof

        @AlignOf
        public static int alignof()
      • tm_sec

        public int tm_sec()
        Seconds [0,60]. POSIX: structure tm.
        Returns:
        the native value of tm_sec.
      • tm_min

        public int tm_min()
        Minutes [0,59]. POSIX: structure tm.
        Returns:
        the native value of tm_min.
      • tm_hour

        public int tm_hour()
        Hour [0,23]. POSIX: structure tm.
        Returns:
        the native value of tm_hour.
      • tm_mday

        public int tm_mday()
        Day of month [1,31]. POSIX: structure tm.
        Returns:
        the native value of tm_mday.
      • tm_mon

        public int tm_mon()
        Month of year [0,11]. POSIX: structure tm.
        Returns:
        the native value of tm_mon.
      • tm_year

        public int tm_year()
        Years since 1900. POSIX: structure tm.
        Returns:
        the native value of tm_year.
      • tm_wday

        public int tm_wday()
        Day of week [0,6] (Sunday = 0 ). POSIX: structure tm.
        Returns:
        the native value of tm_wday.
      • tm_yday

        public int tm_yday()
        Day of year [0,365]. POSIX: structure tm.
        Returns:
        the native value of tm_yday.
      • tm_isdst

        public int tm_isdst()
        Daylight Savings flag. POSIX: structure tm.
        Returns:
        the native value of tm_isdst.
      • tm_sec

        public void tm_sec​(int tm_sec)
        Seconds [0,60]. POSIX: structure tm.
        Parameters:
        tm_sec - the value of tm_sec to be set natively.
      • tm_min

        public void tm_min​(int tm_min)
        Minutes [0,59]. POSIX: structure tm.
        Parameters:
        tm_min - the value of tm_min to be set natively.
      • tm_hour

        public void tm_hour​(int tm_hour)
        Hour [0,23]. POSIX: structure tm.
        Parameters:
        tm_hour - the value of tm_hour to be set natively.
      • tm_mday

        public void tm_mday​(int tm_mday)
        Day of month [1,31]. POSIX: structure tm.
        Parameters:
        tm_mday - the value of tm_mday to be set natively.
      • tm_mon

        public void tm_mon​(int tm_mon)
        Month of year [0,11]. POSIX: structure tm.
        Parameters:
        tm_mon - the value of tm_mon to be set natively.
      • tm_year

        public void tm_year​(int tm_year)
        Years since 1900. POSIX: structure tm.
        Parameters:
        tm_year - the value of tm_year to be set natively.
      • tm_wday

        public void tm_wday​(int tm_wday)
        Day of week [0,6] (Sunday = 0 ). POSIX: structure tm.
        Parameters:
        tm_wday - the value of tm_wday to be set natively.
      • tm_yday

        public void tm_yday​(int tm_yday)
        Day of year [0,365]. POSIX: structure tm.
        Parameters:
        tm_yday - the value of tm_yday to be set natively.
      • tm_isdst

        public void tm_isdst​(int tm_isdst)
        Daylight Savings flag. POSIX: structure tm.
        Parameters:
        tm_isdst - the value of tm_isdst to be set natively.