caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ANNOUNCE: Library for handling Gregorian date calculations
@ 2004-10-24 19:07 Richard Jones
       [not found] ` <20041024203159.GA28136@force.stwing.upenn.edu>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Richard Jones @ 2004-10-24 19:07 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

I'm pleased to announce GregorianDate, which is a pure Objective CAML
library for handling calculations on the Gregorian calendar.

http://www.merjis.com/developers/gregorian_date

This is version 1.0.0, which is mature, stable and widely used (by
me).  The library is released under the GNU LGPL with OCaml linking
exception.

Example:

$ ocaml -I +gregoriandate
        Objective Caml version 3.08.1

# #load "gregorianDate.cma";;
# open GregorianDate;;
# days_in_year 2004;;
- : int = 366
# business_of_standard (2004, 10, 24);;
- : (int * int) * int = ((2004, 43), 7)
# easter_sunday 2005;;
- : int * int * int = (2005, 3, 27)
# day_of_week (2004, 10, 24);;
- : int = 7
# nth_weekday_of_month (2004, 10) 7 4;;
- : int * int * int = (2004, 10, 24)
# add_delta_days (2004, 10, 24) 100;;
- : int * int * int = (2005, 2, 1)

etc.

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Write Apache modules in OCaml - http://www.merjis.com/developers/mod_caml

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-29  6:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-24 19:07 [Caml-list] ANNOUNCE: Library for handling Gregorian date calculations Richard Jones
     [not found] ` <20041024203159.GA28136@force.stwing.upenn.edu>
2004-10-24 21:13   ` Richard Jones
2004-10-25  1:01 ` james woodyatt
2004-10-25 12:06 ` Julien Signoles
2004-10-26  2:11   ` N. Owen Gunden
2004-10-29  3:33     ` N. Owen Gunden
2004-10-29  6:25       ` Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).