class LegacyFastDateFormatter extends LegacyDateFormatter
The legacy formatter is based on Apache Commons FastDateFormat. The formatter uses the default JVM time zone intentionally for compatibility with Spark 2.4 and earlier versions.
Note: Using of the default JVM time zone makes the formatter compatible with the legacy
DateTimeUtils methods toJavaDate and fromJavaDate that are based on the default
JVM time zone too.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LegacyFastDateFormatter
- LegacyDateFormatter
- DateFormatter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
LegacyFastDateFormatter(pattern: String, locale: Locale)
- pattern
java.text.SimpleDateFormatcompatible pattern.- locale
The locale overrides the system locale and is used in parsing/formatting.
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
format(d: Date): String
- Definition Classes
- LegacyFastDateFormatter → DateFormatter
-
def
format(localDate: LocalDate): String
- Definition Classes
- LegacyDateFormatter → DateFormatter
-
def
format(days: Int): String
- Definition Classes
- LegacyDateFormatter → DateFormatter
-
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
-
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()
-
def
parse(s: String): Int
- Definition Classes
- LegacyDateFormatter → DateFormatter
-
def
parseToDate(s: String): Date
- Definition Classes
- LegacyFastDateFormatter → LegacyDateFormatter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validatePatternString(): Unit
- Definition Classes
- LegacyFastDateFormatter → DateFormatter
-
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
- @throws( ... ) @native()