Skip to content
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

Remove the BCL Parse/TryParse/ToString(...) static format/parse methods #87

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments
Labels
Milestone

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

See proposal in https://groups.google.com/forum/#!topic/noda-time/cFYJlJfITOQ.  
In summary: we currently have two ways to format and parse text: the 
pattern-based API, which is strongly-typed and pretty straightforward, and the 
BCL IFormatInfo-based API, which is underdocumented and confusing.  (There are 
other problems as well; see the post.)

Assuming no objections, we should remove all the static Parse/TryParse methods 
and trim down the ToString overloads to two: the parameterless one and the one 
used for IFormattable.

We'll also need to update the user guide.

Original issue reported on code.google.com by malcolm.rowe on 14 Jul 2012 at 9:05

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

Fixed in change 6e7ed1c38f91. (Docs changed in change 583de47fbddb.)

Original comment by jonathan.skeet on 22 Jul 2012 at 8:18

  • Changed state: Fixed
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

Original comment by malcolm.rowe on 30 Jul 2012 at 7:26

  • Added labels: Milestone-1.0
  • Removed labels: V1-Blocker
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

Original comment by malcolm.rowe on 10 Nov 2012 at 10:20

  • Added labels: Milestone-1.0.0
  • Removed labels: Milestone-1.0
@malcolmr malcolmr added the bug label Mar 15, 2015
@malcolmr malcolmr modified the milestone: 1.0.0 Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants