ParseDInterval parses and returns the *DInterval Datum value represented by the provided string, or an error if parsing is unsuccessful.
(s string)
| 2510 | // ParseDInterval parses and returns the *DInterval Datum value represented by the provided |
| 2511 | // string, or an error if parsing is unsuccessful. |
| 2512 | func ParseDInterval(s string) (*DInterval, error) { |
| 2513 | return ParseDIntervalWithTypeMetadata(s, types.DefaultIntervalTypeMetadata) |
| 2514 | } |
| 2515 | |
| 2516 | // truncateDInterval truncates the input DInterval downward to the nearest |
| 2517 | // interval quantity specified by the DurationField input. |
no test coverage detected
searching dependent graphs…