Voting

: min(nine, zero)?
(Example: nine)

The Note You're Voting On

kevinpeno at gmail dot com
14 years ago
Note that, while a DateInterval object has an $invert property, you cannot supply a negative directly to the constructor similar to specifying a negative in XSD ("-P1Y"). You will get an exception through if you do this.

Instead you need to construct using a positive interval ("P1Y") and the specify the $invert property === 1.

<< Back to user notes page

To Top