This is a deliberate feature, in order to support more period formatting
styles than described by ISO8601. Joda-Time supports ISO8601 but is not
limited by it.
Stephen Cranefield wrote:
I notice that Joda-Time allows period expressions such as P1M1W that
have both month and week fields. However, according to ISO8601 (or at
least the ISO 8601:2000 Final Draft), the format is either
PnYnMnDTnHnMnS or PnW.
I don't see any reason why month and week units shouldn't be used
together and I like the fact that Joda-Time allows this, but is this a
deliberate feature that will continue to be supported?
Stephen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest