https://learn.microsoft.com/fr-fr/dotnet/api/system.timezoneinfo.isinvalidtime?view=netframework-4.8.1&viewFallbackFrom=net-10.0
TimeZoneInfo.IsInvalidTime(DateTime) Method (System) | Microsoft Learn
Indicates whether a particular date and time is invalid.
datetimemethodsystemmicrosoftlearn