Struct qt_core::q_date_time::YearRange
source · pub struct YearRange(/* private fields */);
Expand description
This enumerated type describes the range of years (in the Gregorian calendar) representable by QDateTime:
C++ enum: QDateTime::YearRange
.
This enumerated type describes the range of years (in the Gregorian calendar) representable by QDateTime:
All dates strictly between these two years are also representable. Note, however, that the Gregorian Calendar has no year zero.
Note: QDate can describe dates in a wider range of years. For most purposes, this makes little difference, as the range of years that QDateTime can support reaches 292 million years either side of 1970.
This enum was introduced or modified in Qt 5.14.
Implementations§
Trait Implementations§
source§impl PartialEq for YearRange
impl PartialEq for YearRange
impl Copy for YearRange
impl Eq for YearRange
impl StructuralEq for YearRange
impl StructuralPartialEq for YearRange
Auto Trait Implementations§
impl RefUnwindSafe for YearRange
impl Send for YearRange
impl Sync for YearRange
impl Unpin for YearRange
impl UnwindSafe for YearRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more