Skip to content

Implement IConvertible for FbZonedTime #1195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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