trait DateRules extends AnyRef
This trait provides default Rule implementations, from String to various date types and format
- Alphabetic
- By Inheritance
- DateRules
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
def
dateR: Rule[String, Date]
Default Rule for the
java.util.Datetype.Default Rule for the
java.util.Datetype. It uses the default date format:yyyy-MM-dd -
def
dateR(format: String, corrector: (String) ⇒ String = identity): Rule[String, Date]
Rule for the
java.util.Datetype.Rule for the
java.util.Datetype.- corrector
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isoDateR: Rule[String, Date]
ISO 8601 Reads
-
implicit
def
jodaDateR: Rule[String, DateTime]
the default implicit JodaDate reads It uses the default date format:
yyyy-MM-dd -
def
jodaDateR(pattern: String, corrector: (String) ⇒ String = identity): Rule[String, DateTime]
Rule for the
org.joda.time.DateTimetype.Rule for the
org.joda.time.DateTimetype.- pattern
a date pattern, as specified in
java.text.SimpleDateFormat.- corrector
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
-
implicit
def
jodaLocalDateR: Rule[String, LocalDate]
The default implicit Rule for
org.joda.time.LocalDate - implicit def jodaLocalDateR(pattern: String, corrector: (String) ⇒ String = identity): Rule[String, LocalDate]
-
implicit
def
jodaTimeR: Rule[Long, DateTime]
Default Rule for the
java.util.DateTimetype. -
implicit
def
localDateR: Rule[String, LocalDate]
Default Rule for the
java.time.LocalDatetype.Default Rule for the
java.time.LocalDatetype. It uses the default date format:yyyy-MM-dd -
def
localDateR(pattern: String, corrector: (String) ⇒ String = identity): Rule[String, LocalDate]
Rule for the
java.time.LocalDatetype.Rule for the
java.time.LocalDatetype.- pattern
a date pattern, as specified in
java.time.format.DateTimeFormatter.- corrector
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
sqlDateR: Rule[String, Date]
The default implicit Rule for
java.sql.Date -
def
sqlDateR(pattern: String, corrector: (String) ⇒ String = identity): Rule[String, Date]
Rule for the
java.sql.Datetype.Rule for the
java.sql.Datetype.- pattern
a date pattern, as specified in
java.text.SimpleDateFormat.- corrector
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
timeR: Rule[Long, LocalDateTime]
Default Rule for the
java.util.LocalDateTimetype from long. -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
def
zonedDateTimeR: Rule[String, ZonedDateTime]
Default Rule for the
java.time.ZonedDateTimetype.Default Rule for the
java.time.ZonedDateTimetype. It uses the default date format:yyyy-MM-dd -
def
zonedDateTimeR(pattern: String, corrector: (String) ⇒ String = identity): Rule[String, ZonedDateTime]
Rule for the
java.time.ZonedDateTimetype.Rule for the
java.time.ZonedDateTimetype.- pattern
a date pattern, as specified in
java.time.format.DateTimeFormatter.- corrector
a simple string transformation function that can be used to transform input String before parsing. Useful when standards are not exactly respected and require a few tweaks