/** * @return a string representing this timespan (ex: 3h2m23s). Note that if a duration is missing, * it is not part of the string (the string would be 3h23s and not 3h0m23s). * * @see #getCanonicalTimespans() */ public String getCanonicalString() { return getAsString(CANONICAL_TIME_UNITS); }
/** * @return a string representing this timespan (ex: 3h2m23s). Note that if a duration is missing, * it is not part of the string (the string would be 3h23s and not 3h0m23s). * * @see #getCanonicalTimespans() */ public String getCanonicalString() { return getAsString(CANONICAL_TIME_UNITS); }