Class Joda

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

@Deprecated
public class Joda
extends java.lang.Object
Deprecated.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Joda.EpochTimeParser
    Deprecated.
     
    static class  Joda.EpochTimePrinter
    Deprecated.
     
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.joda.time.DateTimeFieldType QuarterOfYear
    Deprecated.
     
    static org.joda.time.DurationFieldType Quarters
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor Description
    Joda()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static JodaDateFormatter forPattern​(java.lang.String input)
    Deprecated.
    Parses a joda based pattern, including some named ones (similar to the built in Joda ISO ones).
    static DateFormatter getStrictStandardDateFormatter()
    Deprecated.
     
    static boolean isJodaPattern​(Version version, java.lang.String pattern)
    Deprecated.
    Checks if a pattern is Joda-style.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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​(java.lang.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, java.lang.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