Issue Type: Bug Bug
Affects Versions: JRuby 1.6.7
Assignee: Thomas E Enebo
Created: 11/Sep/12 5:58 PM
Description:

I want org.joda.time.format.DateTimeFormatter.withDefaultYear(), the joda docs claim it appeared in version 2.0, so I download version 2.1 -

% irb -rjava    
>> require "vendor/jar/joda-time-2.1/joda-time-2.1.jar"
=> true
>> org.joda.time.format.DateTimeFormat.forPattern("MMM dd HH:mm:ss").methods.grep(/with[A-Z]/)
=> [:withZone, :withChronology, :withLocale, :withOffsetParsed, :withPivotYear]

No 'withDefaultYear' method.

Relevant javadoc for the method I'm looking for:
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormatter.html#withDefaultYear%28int%29

Project: JRuby
Priority: Major Major
Reporter: Jordan Sissel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to