Its just occurred to me that my previously proposed DateTime::Trivia should be DateTime::Info::Trivia.

Mainly because it seems that we need somewhere for getting information about dates that could be in format, but that doesn't allow parsing .. for example, where do we put moon phases (my current project)?

I can't do: DateTime::Format::Moon::parse('Full') because there's millions of full moons, but DateTime::Format::Moon::format($dt) would work because today has only one moon-phase.

So, how about DateTime::Info::MoonPhase and DateTime::Info::Trivia?

Cheers!
Rick

--
--------------------------------------------------------
            There are 10 kinds of people:
  those that understand binary, and those that don't.
--------------------------------------------------------
  The day Microsoft makes something that doesn't suck
    is the day they start selling vacuum cleaners
--------------------------------------------------------
"Write a wise proverb and your name will live forever."
   -- Anonymous
--------------------------------------------------------

Reply via email to