Packages

object DateUtils

Class for helper functions for Date

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class FormatKeywordToReplace(word: String, startIndex: Int, endIndex: Int) extends Product with Serializable
  2. case class TimestampFormatConversionException(reason: String) extends Exception with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val EPOCH: String
  5. val NOW: String
  6. val ONE_DAY_MICROSECONDS: Long
  7. val ONE_DAY_SECONDS: Long
  8. val ONE_SECOND_MICROSECONDS: Int
  9. val TODAY: String
  10. val TOMORROW: String
  11. val YESTERDAY: String
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. val conversionMap: Map[String, String]
  15. def currentDate(): Int
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def fetchSpecialDates(unit: DType): Map[String, () ⇒ Scalar]
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def identifySupportedFormatsToReplaceElseThrow(format: String, parseString: Boolean): ListBuffer[FormatKeywordToReplace]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def replaceFormats(format: String, javaPatternsToReplace: ListBuffer[FormatKeywordToReplace]): String
  28. def specialDatesDays: Map[String, Int]
  29. def specialDatesMicros: Map[String, Long]
  30. def specialDatesSeconds: Map[String, Long]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def tagAndGetCudfFormat(meta: RapidsMeta[_, _, _], sparkFormat: String, parseString: Boolean, inputFormat: Option[String] = None): String
  33. def toStrf(format: String, parseString: Boolean): String

    This function converts a java time format string to a strf format string Supports %m,%p,%j,%d,%I,%H,%M,%S,%y,%Y,%f format specifiers.

    This function converts a java time format string to a strf format string Supports %m,%p,%j,%d,%I,%H,%M,%S,%y,%Y,%f format specifiers. %d Day of the month: 01-31 %m Month of the year: 01-12 %y Year without century: 00-99c %Y Year with century: 0001-9999 %H 24-hour of the day: 00-23 %M Minute of the hour: 00-59 %S Second of the minute: 00-59 %f 6-digit microsecond: 000000-999999

    reported bugs https://github.com/rapidsai/cudf/issues/4160 after the bug is fixed this method should also support "hh" -> "%I" (12 hour clock) "a" -> "%p" ('AM', 'PM') "DDD" -> "%j" (Day of the year)

    format

    Java time format string

    parseString

    True if we're parsing a string

  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. val unsupportedCharacter: Set[Char]
  36. val unsupportedWord: Set[String]
  37. val unsupportedWordParseFromString: Set[String]
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped