Struct qmetaobject::QDateTime [−][src]
#[repr(C)]pub struct QDateTime { /* fields omitted */ }
Expand description
Wrapper around QDateTime
class.
Implementations
Wrapper around QDateTime(const QDateTime &other)
constructor.
Wrapper around QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec = Qt::LocalTime)
constructor.
Wrapper-specific
spec
is left as it is, thus it is always Qt::LocalTime
.
Wrapper around QDateTime::date()
method.
Wrapper around QDateTime::time()
method.
Convenience function for obtaining both date and time components.
Wrapper around QDateTime::isValid()
method.
Trait Implementations
Wrapper around QVariant(const QDateTime &)
constructor.
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Returns a QVariant containing a copy of this object
Attempt to convert from a QVariant to this type.
If this is set to a function, it enable the conversion to and from QString
Auto Trait Implementations
impl RefUnwindSafe for QDateTime
impl UnwindSafe for QDateTime
Blanket Implementations
Mutably borrows from an owned value. Read more