Package apple.struct

Class TimeRecord


  • public final class TimeRecord
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TimeBase base()
      refernce to the time base
      int scale()
      units per second
      void setBase​(TimeBase value)
      refernce to the time base
      void setScale​(int value)
      units per second
      void setValue​(wide value)
      units (duration or absolute)
      wide value()
      units (duration or absolute)
      • 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

      • TimeRecord

        public TimeRecord()
      • TimeRecord

        protected TimeRecord​(org.moe.natj.general.Pointer peer)
      • TimeRecord

        public TimeRecord​(wide value,
                          int scale,
                          TimeBase base)
    • Method Detail

      • value

        public wide value()
        units (duration or absolute)
      • setValue

        public void setValue​(wide value)
        units (duration or absolute)
      • scale

        public int scale()
        units per second
      • setScale

        public void setScale​(int value)
        units per second
      • base

        public TimeBase base()
        refernce to the time base
      • setBase

        public void setBase​(TimeBase value)
        refernce to the time base