trait PlotlyJavaTimeConversions extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PlotlyJavaTimeConversions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- implicit def fromJavaInstant(javaInstant: Instant): LocalDateTime
- implicit def fromJavaLocalDate(javaLocalDate: LocalDate): LocalDateTime
- implicit def fromJavaLocalDateTime(javaLocalDateTime: java.time.LocalDateTime): LocalDateTime
-
object
UnsafeImplicitConversions
Implicit conversions in this object convert to
plotly.element.LocalDateTime
by simply dropping timezone/offset information.Implicit conversions in this object convert to
plotly.element.LocalDateTime
by simply dropping timezone/offset information. This can lead to unexpected behaviour, particularly for datasets with varying offsets and timezones. It will generally be safer to convert your data tojava.time.LocalDateTime
in the appropriate timezone/offset, and then use thePlotlyJavaTimeConversions.fromJavaLocalDateTime
implicit conversion.