QDurationExtensions extension
Duration extensions for QUtils
Provides convenient extension methods on Duration objects for formatting and human-readable representations.
- on
Properties
- humanReadable → String
-
Available on Duration, provided by the QDurationExtensions extension
Get human readable format of this durationno setter - inWeeks → int
-
Available on Duration, provided by the QDurationExtensions extension
Gets the total number of weeks in this Durationno setter - isNegative → bool
-
Available on Duration, provided by the QDurationExtensions extension
Checks if this Duration is negativeno setter - isPositive → bool
-
Available on Duration, provided by the QDurationExtensions extension
Checks if this Duration is positiveno setter - isZero → bool
-
Available on Duration, provided by the QDurationExtensions extension
Checks if this Duration is exactly zerono setter - verboseHumanReadable → String
-
Available on Duration, provided by the QDurationExtensions extension
Gets a verbose human-readable string representation of this Durationno setter