Search
IExpressionEvaluatorContext.toTimeSpan Method
See Also
 






Attempts to convert the specified value to a Duration.

Namespace: com.mindfusion.spreadsheet.expressions
Package: com.mindfusion.spreadsheet.expressions

 Syntax

Java  Copy Code

Duration toTimeSpan (
    Object value
)

 Parameters

value

The value to convert.

 Return Value

Duration value corresponding to the specified value, or null, if value cannot be represented as Duration.

 Remarks

This method is usually used when trying to interpret a parameter passed to a custom function.

 See Also