Skip to content

Conversation

willibrandon
Copy link
Contributor

Related #1177

Implement IConvertible for FbZonedTime.

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.

@willibrandon willibrandon marked this pull request as ready for review October 9, 2024 02:46
@cincuranet cincuranet merged commit cb6293e into FirebirdSQL:master Oct 17, 2024
@willibrandon willibrandon deleted the implement-iconvertible-for-fbzonedtime branch October 17, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants