Branch: Tag:

2017-12-14

2017-12-14 00:00:26 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp/Date/Range/Inet: Operator orthogonality improved, testsuite expanded accordingly.

80:    && from == ([object]that)->from && till == ([object]that)->till;   }    + //! @returns + //! Calculates the value of the interval: @expr{till - from@}. + mixed interval() { +  return till - from; + } +    //! Casting a range to string delivers an SQL-compliant value.   protected mixed cast(string to) {    if (to == "string")