-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose the useful constant values in TimeSpan (#103498)
* Expose the useful constant values in TimeSpan Make the useful constants that TimeSpan has internally declare public because they're rooted in hard reality and not changeable, and quite useful elsewhere. Update reference assembly and use the newly exposed values in all the places in Calendar and DateTime and related classes. Fixes #94545 * Added /// documentation for newly public constants * Revert to internal constant Since this source is also built for older frameworks, leave the constant here. * Fixed comment. * Revert Add to int argument Cast at call-site to prevent performance degradation.
- Loading branch information
1 parent
88013cb
commit 5fed175
Showing
20 changed files
with
289 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.