def METHOD_NAME(sec: int, nsec: int) -> str:
    "sec may be negative, nsec is always positive"
    if sec < 0:
        sign = "-"
        sec = -sec
        if nsec > 0:
            sec -= 1
            nsec = SEC_TO_NSEC - nsec
    else:
        sign = "+"
    return _add_nsec_to_repr(f"{sign}{sec}", nsec)