java.lang.Object
io.qt.QtObject
io.qt.serialbus.QCanBusFrame.TimeStamp
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QCanBusFrame
Timestamp information with microsecond precision
Java wrapper for Qt's class QCanBusFrame::TimeStamp
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forTimeStamp(long, long)
TimeStamp
(long s) Overloaded constructor forTimeStamp(long, long)
withusec = 0
.TimeStamp
(long s, long usec) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QCanBusFrame.TimeStamp
fromMicroSeconds
(long usec) int
hashCode()
final long
final long
seconds()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
TimeStamp
public TimeStamp(long s) Overloaded constructor for
TimeStamp(long, long)
withusec = 0
. -
TimeStamp
public TimeStamp() -
TimeStamp
public TimeStamp(long s, long usec) -
TimeStamp
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
microSeconds
-
seconds
-
fromMicroSeconds
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-