NetLogo / Time-Extension

A NetLogo extension that brings date/time utilities and discrete event scheduling to NetLogo
6 stars 4 forks source link

Documentation: Additional information on difference-between #15

Open SFRailsback opened 5 years ago

SFRailsback commented 5 years ago

This stuff needs to be covered in the documentation for difference-between. When used on logotimes of type "DAY":

When used on logotimes of type "DATE", differences in units of "DAY" are the absolute number of days between the two dates, so they can be > 365 or <-365.

charlesres commented 5 years ago

@SFRailsback, thanks for submitting. I'll add those changes to the documentation, especially adding the rationale for not supporting year for "DAY". There are some interesting behaviors with addition that causes values to truncate or forget values after being converted that make years difficult to support.