module EnvParser::Types::ChronologyTypes
Defines types for date/time-related values, adding the following:
<table>
<tbody> <tr> <th><code>:as</code> value</th> <th>type returned</th> <th>default</th> <th>notes</th> </tr> </tbody> <tbody> <tr> <td>:date</td> <td>Date</td> <td><code>nil</code></td> <td> A natural language or ISO8601-parseable date. <br /> Actual interpretation of the value is handled by the *chronic* gem. </td> </tr> <tr> <td>:time / :datetime</td> <td>Time</td> <td><code>nil</code></td> <td> A natural language or ISO8601-parseable date and time. <br /> Actual interpretation of the value is handled by the *chronic* gem. </td> </tr> <tr> <td>:duration</td> <td>Numeric</td> <td><code>nil</code></td> <td> A natural language or ISO8601-parseable period. <br /> Value returned is the number of seconds in the given period. <br /> Actual interpretation of the value is handled by the *chronic_duration* gem. </td> </tr> </tbody>
</table>