try/catch idiom in std.datetime
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Wed Nov 20 23:20:39 PST 2013
On Monday, 18 November 2013 at 22:17:16 UTC, Jonathan M Davis
wrote:
> You validate by parsing the
> string, and you extract the necessary data from it by parsing
> it.
I feel like you and Walter are both saying the same thing.
fromISOString sounds to me like a data validation function. It is
one that once validated provides a "validated" type, much like
SortedRange.
I don't think Walter disagrees with that, but isn't calling it
out specifically. Did I get that right?
More information about the Digitalmars-d
mailing list