Class Joda

java.lang.Object
org.elasticsearch.common.joda.Joda

@Deprecated public class Joda extends Object
Deprecated.
  • Field Details

    • Quarters

      public static final org.joda.time.DurationFieldType Quarters
      Deprecated.
    • QuarterOfYear

      public static final org.joda.time.DateTimeFieldType QuarterOfYear
      Deprecated.
  • Constructor Details

    • Joda

      public Joda()
      Deprecated.
  • Method Details

    • forPattern

      public static JodaDateFormatter forPattern(String input)
      Deprecated.
      Parses a joda based pattern, including some named ones (similar to the built in Joda ISO ones).
    • getStrictStandardDateFormatter

      public static DateFormatter getStrictStandardDateFormatter()
      Deprecated.
    • isJodaPattern

      public static boolean isJodaPattern(Version version, String pattern)
      Deprecated.
      Checks if a pattern is Joda-style. Joda style patterns are not always compatible with java.time patterns.
      Parameters:
      version - - creation version of the index where pattern was used
      pattern - - the pattern to check
      Returns:
      - true if pattern is joda style, otherwise false