Branch: Tag:

2018-01-12

2018-01-12 12:08:14 by Stephen R. van den Berg <srb@cuci.nl>

Val.*: Add __hash() methods.

278:    nsecs = x[0];    }    +  protected int __hash() { +  return nsecs; +  } +     //! @param sec    //! Seconds since epoch.    //! @param nsec
844:    days = x[0];    }    +  protected int __hash() { +  return days; +  } +     //!    variant protected void create(int year, int month, int day) {    create((["year":year - 1900, "mon":month - 1, "mday":day]));