Virtex libdate

Welcome to the libdate homepage


What is it?

Libdate is a library to allow a programmer to easily do calculations on dates. Planned functionality includes the following:
  • Conversion of dates between year/month/day, julian, and rata die formats.
  • Given a date, find its day of week.
  • The ability to add or subtract an arbitrary number of days to obtain a new date.
  • The ability to calculate various holidays, either by using a specific date (Christmas=Dec 25), through simple day of week formulas (Thanksgiving=fourth Thursday in November), or custom routines (Easter=first Sunday after Paschal Moon).
  • It can track unique or recurring events, such as meetings, your favorite television shows, or your next dentist's appointment.
  • It can also calculate phases of the moon.
At this point, not all the features have been implemented, but work is underway. If you are curious about what motivations pushed me into into writing this library, it is because I am starting work on a calendar application with scheduling capabilities. The libdate library is the first step in writing the final application, and I thought it might be of interest to others, so I chose to post it here. I hope you find it useful.

You can send me email by following this link.

Links

SourceForge
libdate documentation
libdate project page


Hosted by
SourceForge