dstring_fmt library


dateHumanReadable(DateTime toConvert, {String ifNull = ''}) String
Convert a toConvert in a human-readable String, excluding the time. [...]
dateTimeHumanReadable(DateTime toConvert, {String ifNull = ''}) String
Convert toConvert in a human-readable String, including the time. [...]
durationExactHours(Duration d) double
Calculate Duration in fractional hours. [...]
durationHumanReadable(Duration d) String
Return a human-readable version of Duration d.
tabAlign({List<String> rows, String delimiter = '\t', int spacesPerTab = 8}) Iterable<String>
Align some columns (separated by delimiter) in rows so that each column is distinct from the others. [...]