Attempts to convert the specified value to a Duration.
Namespace: com.mindfusion.spreadsheet.expressions
Package: com.mindfusion.spreadsheet.expressions
Java
![]() |
---|
Duration toTimeSpan ( |
The value to convert.
A Duration value corresponding to the specified value, or null, if value cannot be represented as Duration.
This method is usually used when trying to interpret a parameter passed to a custom function.