iainbeeston / nickel

Nickel extracts date, time, and message information from naturally worded text.
MIT License
112 stars 17 forks source link

Before and after should be private #17

Closed iainbeeston closed 10 years ago

iainbeeston commented 10 years ago

The before and after methods in ZDate and ZTime should not be a part of the public interface - anyone relying on those methods should be using the standard < and > methods respectively. I've made those private to avoid confusion.

Also rolled in a bugfix for the == method (as provided by Comparable)