I don't think Joda time has what you're looking for. A minimum duration value must consider many things, including leap years, time zone transitions, and historical changes. In the GJ chronology, the minimum length of a month can be 19 days, for example. To implement minimum duration values correctly, it must apply to a specified a range of time for which to consider.
Arjan Veenstra wrote: > Hi, > > I've been looking for a way to determine the minimal length of a imprecise > Period. I need this to be tell if a period A will always be less the an other > period B. For example, 29 days is often, but not alway less then 1 month. > > So far I've found that DurationField contains getMillis(long), which will > return a approximate value even for imprecise fields, but that is not exactly > what I was looking for. > > Any ideas? > > Arjan Veenstra > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest