caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: [Caml-list] ANNOUNCE: Library for handling Gregorian date calculations
Date: Sun, 24 Oct 2004 20:07:32 +0100	[thread overview]
Message-ID: <20041024190732.GA20180@annexia.org> (raw)

[-- 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 --]

             reply	other threads:[~2004-10-24 19:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-24 19:07 Richard Jones [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041024190732.GA20180@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).