I have begun to work on DateTime::Calendar::French_Rev,
the heir of my previous Date::Convert::French_Rev module.

As I told long ago (January 2003), the French Revolutionary
calendar included a reform to decimalize time counting, 
with 10 hours per day, 100 minutes per hour and 100 seconds per
minute. But this reform was never put into effect. So,
my module should give access to both sexagesimal time (historically
correct) and decimal time (interesting and fun).

For the moment, there are two sets of accessors:
- hour, min, second, etc for sexagesimal time
- dhour, dmin and dsecond for decimal time
but strftime knows only decimal time.

Another way would be to use only one set of accessors, plus a method
  choose_time_counting 
or two opposite methods
  choose_decimal_time
  choose_sexagesimal_time
and all methods: hour, minute, second, strftime would obey the last
setting.

A third solution, midway between the first two ones, would be to have
the two sets of accessors, but to use the "choose" methods to alter
the behaviour of strftime.

Which solution is better?

Another question: the 7-day weeks were replaced by 10-day d�cades. 
Should I keep the "week_number", "week_year" etc methods, which are
inaccurately named, or should I use "decade_number", "decade_year"
which might confuse English speakers (because in English, the same
word means 10 years)? Or should I propose both?

Lastly, in accordance to CPAN rules, I should ask your advice about
naming my module. But 
  http://datetime.perl.org/developer/calendar.html
makes it crystal-clear: it should be named
  DateTime::Calendar::French_Rev.pm
If you still have any remarks about this...

Jean Forget



-- 
WYGIWYGAINGW =  "What You Get Is What You're Given And It's 
No Good Whining."

     Archichancelier Mustrum Ridcully
     (cit� par Terry Prachett dans The Science of Discworld)


Reply via email to