object DefaultDateWrites extends Writes[Date]
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultDateWrites
- Writes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def contramap[B](f: (B) => Date): Writes[B]
Returns a new instance that first converts a
B
value to aA
one, before converting thisA
value into a JsValue. - def narrow[B <: Date]: Writes[B]
Narrows to any
B
super-type ofA
.Narrows to any
B
super-type ofA
.- Definition Classes
- Writes
- def transform(transformer: [JsValue]): [Date]
Transforms the resulting JsValue using a
Writes[JsValue]
. - def transform(transformer: () => JsValue): [Date]
Transforms the resulting JsValue using transformer function.
- def writes(d: Date): JsValue
Converts the
A
value into a JsValue.
(Since version 2.8.0) Use
defaultDateWrites