Object

com.nvidia.spark.rapids

DateUtils

Related Doc: package rapids

Permalink

object DateUtils

Class for helper functions for Date

Linear Supertypes
AnyRef, Any
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

    Permalink
  2. case class TimestampFormatConversionException(reason: String) extends Exception with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EPOCH: String

    Permalink
  5. val NOW: String

    Permalink
  6. val ONE_DAY_MICROSECONDS: Long

    Permalink
  7. val ONE_DAY_SECONDS: Long

    Permalink
  8. val ONE_SECOND_MICROSECONDS: Int

    Permalink
  9. val TODAY: String

    Permalink
  10. val TOMORROW: String

    Permalink
  11. val YESTERDAY: String

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val conversionMap: Map[String, String]

    Permalink
  15. def currentDate(): Int

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def identifySupportedFormatsToReplaceElseThrow(format: String, parseString: Boolean): ListBuffer[FormatKeywordToReplace]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def replaceFormats(format: String, javaPatternsToReplace: ListBuffer[FormatKeywordToReplace]): String

    Permalink
  27. def specialDatesDays: Map[String, Int]

    Permalink
  28. def specialDatesMicros: Map[String, Long]

    Permalink
  29. def specialDatesSeconds: Map[String, Long]

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def tagAndGetCudfFormat(meta: RapidsMeta[_, _], sparkFormat: String, parseString: Boolean): String

    Permalink
  32. def toStrf(format: String, parseString: Boolean): String

    Permalink

    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

  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. val unsupportedCharacter: Set[Char]

    Permalink
  35. val unsupportedWord: Set[String]

    Permalink
  36. val unsupportedWordParseFromString: Set[String]

    Permalink
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped