Instance Constructors
-
new
DateExtractor
(re: RE, extract: MGOE)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
andThen
[A]
(g: (Iterator[List[Result]]) ⇒ A): (String) ⇒ A
-
def
apply
(m: Match): Option[List[Result]]
-
def
apply
(in: String): Iterator[List[Result]]
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
compose
(prepare: (String) ⇒ String): Extractor[List[Result]]
-
def
compose
[A]
(g: (A) ⇒ String): (A) ⇒ Iterator[List[Result]]
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
val
extract
: MGOE
-
val
extractMatch
: (Match) ⇒ Option[List[Result]]
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
re
: RE
-
val
regex
: Regex
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
-
def
toString
(): String
-
def
unapplySeq
(in: String): Option[List[List[Result]]]
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from (String) ⇒ Iterator[List[Result]]
Inherited from AnyRef
Inherited from Any
Extract a list of possible date interpretations, considering ambiguity
Ambiguous cases are (in expression
A/B/C
):Date.NUMERIC
andDate.NUMERIC_US
:YMD_S | DMY_S
when10 <= A <= 31 and C >= 10 (and A != C)
Date.NUMERIC_US
MDY_S | YMD_S
when0 < C <= 12 && B <= 12 (and (A != C or B != C))
MDY_S | DMY_S
whenB <= 12 (and A != B)
MDY_L | DMY_L
whenB <= 12 (and A != B)