Value :: toTime - Convert to time value
The function returns the property value as Time value.
When no instance is selected or the value cannot be converted into a date value, the function throws an exception.
Return value: Time value ( odaba::Time )
The time value is passed in the ODABA Interface::Time format and provides time in 1/100th seconds.
Implementation overview
- Get time value from current value
Value :: toTime (  ) - Get double value for passed property
Value :: toTime ( vSimplePath )
Implementation details
-
Get time value from current value
odaba::Time Value  :: toTime (  )
The function returns the time value from current value handle.
to list
-
Get double value for passed property
odaba::Time Value  :: toTime ( odaba::String &vSimplePath )
The function returns the time value for the propertywith the name passed in sSimplePath. When no property exists with the passed name the function throws an exception.
This is a short form for value(sSimplePath).toTime().
- vSimplePath
- Simple property path
A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.
to list
- vSimplePath
- Simple property path