jruby/docs BETA
Navigation
org.jruby.util 124
C ASM
C AppendModeChannel
C ArraySupport
C AsyncReaction
C ByteList
C ByteListHelper
I ByteListHolder
I ClassDefiningClassLoader
C ClassDefiningJRubyClassLoader
I ClassProvider
C ClassesLoader
C ClasspathLauncher
I CodePoint
C CodeRangeSupport
I CodeRangeable
C CodegenUtils
C CommonByteLists
C ComplexPatterns
C ConvertBytes
C ConvertDouble
C Converter
E DefinedMessage
C Dir
C DoubleConverter
C ERange
C ErrnoException
E ErrorMode
C FastReaction
C FileExists
C FileIsDirectory
C FileIsNotDirectory
I FileResource
E Format
C FormatBag
C GenericMap
C IOChannel
C IOError
C IOInputStream
C IOOutputStream
C IOReadableByteChannel
C IOReadableWritableByteChannel
C IOWritableByteChannel
C IdUtil
C InputStreamMarkCursor
C Inspector
C InvalidAnnotationDescriptorException
C InvalidArguments
C JDBCDriverUnloader
C JRubyClassLoader
C JRubyFile
C JRubyNonExistentFile
C JRubyObjectInputStream
C JavaNameMangler
C Join
E KCode
I Kernel32
C KeyValuePair
E Kind
C LaunchConfig
I Loader
C MRIRecursionGuard
C Memo
C MurmurHash
C NClassClassLoader
E NeighborChar
C NoFunctionalitySignalFacade
C NormalizedFile
C NotFound
C Numeric
C OSEnvironment
C OneShotClassLoader
C POpenProcess
C Pack
C PackUtils
C Pair
C PerlHash
C PermissionDenied
C PhantomReferenceReaper
C Random
C RationalPatterns
C Reaction
C RecursiveComparator
I RecursiveFunction
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 Spec
C Sprintf
C StringSupport
C StrptimeParser
C StrptimeToken
C SunSignalFacade
E SymbolNameType
C SyncReaction
C TR
C TimeZoneConverter
C Token
C TooManySymlinks
C TrTables
I TypeCoercer
C TypeConverter
C URLResource
C URLUtil
C UriLikePathHelper
I Visit
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)