Sophie

Sophie

distrib > Mageia > 1 > x86_64 > by-pkgid > 6a1a4a8f2ef8a9c7876b3afed1d1fb20 > files > 5

joda-time-1.6.2-5.tzdata2011f.2.mga1.noarch.rpm

JodaTime ToDo list
==================

For 2.0
-------

The TODO list for 2.0 has not been set yet.
Some of the following are likely targets, as they are interesting ideas.

Join joda-interest.at.lists.sourceforge.net to help out!


Ideas
-----
- Pluggable text providers:
   Allow all text output to be controlled and updated.
   Probably use the CLDR files.

- More chronologies:
   Implement more chronologies, like ChineseChronology, HebrewChronology,
   PersianChronology, etc. This may require more work in localization.

- DateTimeFormatter.appendLocaleFormatterMap(map):
    Adds a map of Locale to Formatter, which picks the formatter to use
    based on the locale of the print/parse. Allows for the flexible insertion
    of any locale based text into a shared multi-language formatter.

- DateTimeField.setNext(instant, value, howManyNext):
    Allows questions like what is the date next Tuesday

- Partial matching:
    Add code to allow full matching of partials. Thus you might define
    DayOfWeek=Friday and DayOfMonth=13, and then resolve to find the
    next matching Friday the 13th.

- Chronology:
    Add daysFrom(year)
    This would be a DateTimeField that, given a base year, returns the number of
    elapsed days from 1st Jan that year. Apparantly useful for Excel, where a
    standard format is days from 1900.

- ISOCalendar:
    Calendar subclass that implements our interface. This might be difficult to
    do since Calendar has so many final methods and a rigid specification.

- ISODate:
    Date subclasses that implements our interface. This might not be a worthwhile
    effort since almost all Date methods are deprecated.

- Recurrence:
    Create a set of classes for supporting recurrences. This will need to support
    complex specifications such as "2nd Wednesday in May" and "next Thursday".
    A builder design might be helpful.

- Holidays:
    These might simply be special instances of Recurrences.