Branch: Tag:

2017-12-14

2017-12-14 01:15:37 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp et al: Add _encode()/_decode().

12:   //! The upper exclusive boundary.   mixed till;    + array(mixed) _encode() { +  return ({from, till}); + } +  + void _decode(array(mixed) x) { +  from = x[0]; +  till = x[1]; + } +    //! @param from   //! Lower inclusive boundary for the range. Specify no lower-boundary   //! by filling in @expr{-Math.inf@}.