Adds an implementation for the IConvertible interface method ToType. If the conversionType is of type TimeSpan, it returns the Time property of the FbZonedTime struct. This allows an instance of FbZonedTime to be converted to a TimeSpan object using the IConvertible interface.
Related #1177
Implement IConvertible for FbZonedTime.
Adds an implementation for the
IConvertible
interface methodToType
. If theconversionType
is of typeTimeSpan
, it returns theTime
property of theFbZonedTime
struct. This allows an instance ofFbZonedTime
to be converted to aTimeSpan
object using theIConvertible
interface.