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 class QCanBusFrame::TimeStamp
- Since:
- This class was introduced in Qt 5.8.
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forTimeStamp(long, long)
TimeStamp
(long s) Overloaded constructor forTimeStamp(long, long)
withusec = 0
.TimeStamp
(long s, long usec) TimeStamp
(QCanBusFrame.TimeStamp other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
equals
(QCanBusFrame.TimeStamp value2) Seeoperator==(QCanBusFrame::TimeStamp,
QCanBusFrame::TimeStamp) boolean
Seeoperator==(QCanBusFrame::TimeStamp,
QCanBusFrame::TimeStamp) static QCanBusFrame.TimeStamp
fromMicroSeconds
(long usec) int
hashCode()
Returns the objects's hash code computed byqHash(QCanBusFrame::TimeStamp)
.final long
final long
seconds()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
TimeStamp
- Parameters:
other
-
-
TimeStamp
public TimeStamp(long s, long usec) - Parameters:
s
-usec
-
-
TimeStamp
public TimeStamp(long s) Overloaded constructor for
TimeStamp(long, long)
withusec = 0
. -
TimeStamp
public TimeStamp()
-
-
Method Details
-
microSeconds
- Returns:
-
equals
See
operator==(QCanBusFrame::TimeStamp,
QCanBusFrame::TimeStamp) - Parameters:
value2
-- Returns:
-
seconds
- Returns:
-
fromMicroSeconds
- Parameters:
usec
-- Returns:
-
equals
See
operator==(QCanBusFrame::TimeStamp,
QCanBusFrame::TimeStamp) -
hashCode
Returns the objects's hash code computed byqHash(QCanBusFrame::TimeStamp)
. -
clone
Creates and returns a copy of this object.
See
QCanBusFrame::TimeStamp::
TimeStamp(QCanBusFrame::TimeStamp)
-