C-Extensions / C API functions |
Converts an interval value to a character string, specifying the format.
mint intofmtasc(intrvl_t *i, char *output, mint len, char *fmt);
Code | Description |
---|---|
0 | The conversion was successful. |
<0 | The conversion failed. |
The fmt parameter defines the formatting mask. It must be either in year to month, or in day to fraction ranges.