Package org.jruby.util
Class StrptimeParser
java.lang.Object
org.jruby.util.StrptimeParser
This is Java implementation of ext/date/date_strptime.c in Ruby 2.3.1.
see https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strptime.c
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Ported Date::Format::Bag from lib/ruby/stdlib/date/format.rb in JRuby 9.1.5.0. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompilePattern
(String pattern) Ported from RubyDateFormatter#compilePattern in JRuby 9.1.5.0.parse
(List<StrptimeToken> compiledPattern, String text)
-
Constructor Details
-
StrptimeParser
public StrptimeParser()
-
-
Method Details
-
compilePattern
Ported from RubyDateFormatter#compilePattern in JRuby 9.1.5.0. see https://github.com/jruby/jruby/blob/036ce39f0476d4bd718e23e64caff36bb50b8dbc/core/src/main/java/org/jruby/util/RubyDateFormatter.java -
parse
-