HomeClusterLabs Projects

Refactor: libcrmcommon: crm_duration_as_string() supports microseconds

Description

Refactor: libcrmcommon: crm_duration_as_string() supports microseconds

Supporting mixed-sign seconds and microseconds turned out to be somewhat
complicated, and it's not clear that we need to do so. Instead, we'll
assert that they're of the same sign and that the usecs are in-range.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Nov 10 2022, 6:00 PM
Parents
rPd9b1e62a2800: API: libcrmcommon: New crm_time_usecs flag in iso8601.h
Branches
Unknown
Tags
Unknown