article

Action executed in 0.000

project Gregorian Time

I just released a small project of mine under GPL. It's a Gregorian representation of time in Java. This projects approaches time from a new angle.

First, it separates generic units of time, like years, from specific years, like 1975. Secondly, it allows arithmetic of moments in this form. So there's no need to convert to UNIX time.

To create a moment in time first start with a year, then pick a month in that year, and a day in that month, etc. One benefit of modelling this way is you can add an arbitrary amount of precision.

Comments

none yet

Post a Comment

* indicates a required field
anonymous (If you want to identify yourself, please sign in first.)
required This field is required.

Max size is 2 MB, aspect ratio 3:4 width:height
required This field is required.
Please include a short description.
required This field is required.

480 characters remaining.
is public

(Use this field if you have to. 3000 characters remaining.)
1 quarter, 2 nickels, 2 pennies + 100

Trackback URL

http://derocher.org/~brian//trackback.php?ParentId=1030

form