jruby/docs BETA
Navigation
org.jruby.util 86
C ASM
C AppendModeChannel
C ArraySupport
C ByteList
C ByteListHelper
I ByteListHolder
I ClassDefiningClassLoader
C ClassDefiningJRubyClassLoader
I ClassProvider
C ClassesLoader
C ClasspathLauncher
C CodeRangeSupport
I CodeRangeable
C CodegenUtils
C CommonByteLists
C ConvertBytes
C ConvertDouble
E DefinedMessage
C Dir
I FileResource
C GenericMap
C IOChannel
C IOInputStream
C IOOutputStream
C IdUtil
C InputStreamMarkCursor
C Inspector
C JDBCDriverUnloader
C JRubyClassLoader
C JRubyFile
C JRubyNonExistentFile
C JRubyObjectInputStream
C JavaNameMangler
C Join
E KCode
C KeyValuePair
I Loader
C MRIRecursionGuard
C Memo
C MurmurHash
C NClassClassLoader
C NoFunctionalitySignalFacade
C NormalizedFile
C Numeric
C OSEnvironment
C OneShotClassLoader
C Pack
C PackUtils
C PerlHash
C PhantomReferenceReaper
C Random
C RecursiveComparator
C ReferenceReaper
C RegexpOptions
C RegexpSupport
C ResourceException
C RubyDateFormatter
C RubyDateParser
C RubyFileTypeDetector
C RubyStringBuilder
C RubyTimeOutputFormatter
C RubyTimeParser
C SafeDoubleParser
C SafeFloatParser
C SafePropertyAccessor
C SecurityHelper
C SelfFirstJRubyClassLoader
C ShellLauncher
I SignalFacade
C SipHashInline
C SoftReferenceReaper
C Sprintf
C StringSupport
C StrptimeParser
C StrptimeToken
C SunSignalFacade
E SymbolNameType
C TimeZoneConverter
I TypeCoercer
C TypeConverter
C URLResource
C URLUtil
C UriLikePathHelper
C WeakIdentityHashMap
C WeakReferenceReaper
C WindowsFFI
RubyDateParser — members 3
C new()
M parse(context, format, text) IRubyObject
M parse(context, format, text) IRubyObject

org.jruby.util.RubyDateParser

class 3 members

This class has StrptimeParser and provides methods that are calls from JRuby.

Constructors

new

new ( )
Java: <init>()

Instance Methods

parse

IRubyObject parse ( ThreadContext context, RubyString format, RubyString text )
Java: parse(org.jruby.runtime.ThreadContext context, org.jruby.RubyString format, org.jruby.RubyString text)

Date._strptime method in JRuby 9.1.5.0's lib/ruby/stdlib/date/format.rb is replaced with this method. This is Java implementation of date__strptime method in MRI 2.3.1's ext/date/date_strptime.c. See: https://github.com/jruby/jruby/blob/036ce39f0476d4bd718e23e64caff36bb50b8dbc/lib/ruby/stdlib/date/format.rb https://github.com/ruby/ruby/blob/394fa89c67722d35bdda89f10c7de5c304a5efb1/ext/date/date_strptime.c

parse

IRubyObject parse ( ThreadContext context, String format, RubyString text )
Java: parse(org.jruby.runtime.ThreadContext context, String format, org.jruby.RubyString text)