Method ConvertToDateTime
ConvertToDateTime()
Converts this TemporalValue instance to a DateTime instance.
protected override DateTime ConvertToDateTime()
Returns
Exceptions
- InvalidCastException
If conversion is not possible
- ValueTruncationException
If conversion results in a truncation under ms precision
- OverflowException
If the value falls beyond valid range of target type