mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
refs #449 Remove internal usage of QTime in CTime
QTime does not support values greater than 24 hours. Therefore parsing from such values or conversions failed. This commit reimplements all necessary methods without using QTime.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2d9e9863c2
commit
86b238a092
@@ -55,10 +55,6 @@ namespace BlackMisc
|
||||
//! From string hh:mm, or hh:mm:ss, or time units such as s, min
|
||||
void parseFromString(const QString &time, BlackMisc::PhysicalQuantities::CPqString::SeparatorMode mode);
|
||||
|
||||
//! To Qt time
|
||||
//! \warning sign not considered
|
||||
QTime toQTime() const;
|
||||
|
||||
//! Parts hh, mm, ss
|
||||
//! \warning sign not considered
|
||||
QList<int> getHrsMinSecParts() const;
|
||||
|
||||
Reference in New Issue
Block a user