+QString format_time_si_adjusted(
+ const Timestamp& t,
+ SIPrefix prefix,
+ unsigned precision = 0,
+ QString unit = "s",
+ bool sign = true);
+
+/**
+ * Formats the given timestamp using "[+-]DD:HH:MM:SS.mmm uuu nnn ppp..." format.
+ *
+ * "DD" and "HH" are left out if they would be "00" (but if "DD" is generated,
+ * "HH" is also always generated. The "MM:SS" part is always produced, the
+ * number of subsecond digits can be influenced using the 'precision' parameter.
+ *
+ * @param t The value to format.
+ * @param precision The number of digits after the decimal separator.
+ * @param sign Whether or not to add a sign also for positive numbers.
+ *
+ * @return The formatted value.
+ */
+QString format_time_minutes(
+ const Timestamp& t,
+ signed precision = 0,
+ bool sign = true);