Package apple.struct

Class tm


  • public final class tm
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        tm()  
      protected tm​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTm_gmtoff​(long value)
      offset from UTC in seconds
      void setTm_hour​(int value)
      hours since midnight [0-23]
      void setTm_isdst​(int value)
      Daylight Savings Time flag
      void setTm_mday​(int value)
      day of the month [1-31]
      void setTm_min​(int value)
      minutes after the hour [0-59]
      void setTm_mon​(int value)
      months since January [0-11]
      void setTm_sec​(int value)
      seconds after the minute [0-60]
      void setTm_wday​(int value)
      days since Sunday [0-6]
      void setTm_yday​(int value)
      days since January 1 [0-365]
      void setTm_year​(int value)
      years since 1900
      void setTm_zone​(org.moe.natj.general.ptr.BytePtr value)
      timezone abbreviation
      long tm_gmtoff()
      offset from UTC in seconds
      int tm_hour()
      hours since midnight [0-23]
      int tm_isdst()
      Daylight Savings Time flag
      int tm_mday()
      day of the month [1-31]
      int tm_min()
      minutes after the hour [0-59]
      int tm_mon()
      months since January [0-11]
      int tm_sec()
      seconds after the minute [0-60]
      int tm_wday()
      days since Sunday [0-6]
      int tm_yday()
      days since January 1 [0-365]
      int tm_year()
      years since 1900
      org.moe.natj.general.ptr.BytePtr tm_zone()
      timezone abbreviation
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • tm

        public tm()
      • tm

        protected tm​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • tm_sec

        public int tm_sec()
        seconds after the minute [0-60]
      • setTm_sec

        public void setTm_sec​(int value)
        seconds after the minute [0-60]
      • tm_min

        public int tm_min()
        minutes after the hour [0-59]
      • setTm_min

        public void setTm_min​(int value)
        minutes after the hour [0-59]
      • tm_hour

        public int tm_hour()
        hours since midnight [0-23]
      • setTm_hour

        public void setTm_hour​(int value)
        hours since midnight [0-23]
      • tm_mday

        public int tm_mday()
        day of the month [1-31]
      • setTm_mday

        public void setTm_mday​(int value)
        day of the month [1-31]
      • tm_mon

        public int tm_mon()
        months since January [0-11]
      • setTm_mon

        public void setTm_mon​(int value)
        months since January [0-11]
      • tm_year

        public int tm_year()
        years since 1900
      • setTm_year

        public void setTm_year​(int value)
        years since 1900
      • tm_wday

        public int tm_wday()
        days since Sunday [0-6]
      • setTm_wday

        public void setTm_wday​(int value)
        days since Sunday [0-6]
      • tm_yday

        public int tm_yday()
        days since January 1 [0-365]
      • setTm_yday

        public void setTm_yday​(int value)
        days since January 1 [0-365]
      • tm_isdst

        public int tm_isdst()
        Daylight Savings Time flag
      • setTm_isdst

        public void setTm_isdst​(int value)
        Daylight Savings Time flag
      • tm_gmtoff

        public long tm_gmtoff()
        offset from UTC in seconds
      • setTm_gmtoff

        public void setTm_gmtoff​(long value)
        offset from UTC in seconds
      • tm_zone

        public org.moe.natj.general.ptr.BytePtr tm_zone()
        timezone abbreviation
      • setTm_zone

        public void setTm_zone​(org.moe.natj.general.ptr.BytePtr value)
        timezone abbreviation