Anthony R. J. Ball wrote:
>  Are three even necessary?

Not absolutely, but with two when you want to find the start of the
current observance you'd have to use both methods and a date equality
comparison.  It'd be a pain, lots of people wouldn't bother doing it
properly and you'd get code that fails if given a date that is exactly
a boundary.  The three method way puts the effort where it belongs: in
the library, where it's actually easier to implement than the two methods.

-zefram

Reply via email to