<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 4, 2014 at 1:04 PM, Julien Fischer <span dir="ltr"><<a href="mailto:jfischer@opturion.com" target="_blank">jfischer@opturion.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
For review by anyone.<br>
<br>
-----------------------<br>
<br>
Additions for the calendar module.<br>
<br>
library/calendar.m:<br>
Add predicates and functions for converting between 1-based<br>
and 0-based month numbers and values of the month/0 type.<br>
The former are useful when dealing with human-provided dates<br>
whereas the latter are useful when interacting with dates<br>
provided from some foreign language (C and Java for example).<br>
<br>
Add a predicate for testing for equality of dates ignoring<br>
their time component.<br>
<br>
Replace the locally defined predicate char_to_digit/2 with<br>
calls to char.decimal_digit_to_int/2<br>
<br>
Fix some formatting issues.<br>
<br>
tests/hard_coded/calendar_<u></u>test.{m,exp}:<br>
Extend this test case to cover the functionality added<br>
above.<br>
<br>
NEWS:<br>
Announce the additions.<br>
<br></blockquote><div><br></div><div>Looks fine.</div><div><br></div><div>Ian.</div></div></div></div>