Class DateFormat
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public static class DateFormat
Fields
| Edit this page View Sourcebasic_date
A basic formatter that combines a basic date and time, separated by a T: yyyyMMdd'T'HHmmss.SSSZ.
Declaration
public const string basic_date = "basic_date"
Field Value
Type | Description |
---|---|
string |
basic_date_time
A basic formatter that combines a basic date and time, separated by a T: yyyyMMdd'T'HHmmss.SSSZ.
Declaration
public const string basic_date_time = "basic_date_time"
Field Value
Type | Description |
---|---|
string |
basic_date_time_no_millis
A basic formatter that combines a basic date and time without millis, separated by a T: yyyyMMdd'T'HHmmssZ.
Declaration
public const string basic_date_time_no_millis = "basic_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
basic_ordinal_date
A formatter for a full ordinal date, using a four digit year and three digit dayOfYear: yyyyDDD.
Declaration
public const string basic_ordinal_date = "basic_ordinal_date"
Field Value
Type | Description |
---|---|
string |
basic_ordinal_date_time
A formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear: yyyyDDD'T'HHmmss.SSSZ.
Declaration
public const string basic_ordinal_date_time = "basic_ordinal_date_time"
Field Value
Type | Description |
---|---|
string |
basic_ordinal_date_time_no_millis
A formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear: yyyyDDD'T'HHmmssZ.
Declaration
public const string basic_ordinal_date_time_no_millis = "basic_ordinal_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
basic_t_time
A basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone off set prefixed by T: 'T'HHmmss.SSSZ.
Declaration
public const string basic_t_time = "basic_t_time"
Field Value
Type | Description |
---|---|
string |
basic_t_time_no_millis
A basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by T: 'T'HHmmssZ.
Declaration
public const string basic_t_time_no_millis = "basic_t_time_no_millis"
Field Value
Type | Description |
---|---|
string |
basic_time
A basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone offset: HHmmss.SSSZ.
Declaration
public const string basic_time = "basic_time"
Field Value
Type | Description |
---|---|
string |
basic_time_no_millis
A basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset: HHmmssZ.
Declaration
public const string basic_time_no_millis = "basic_time_no_millis"
Field Value
Type | Description |
---|---|
string |
basic_week_date
A basic formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx'W'wwe.
Declaration
public const string basic_week_date = "basic_week_date"
Field Value
Type | Description |
---|---|
string |
basic_week_date_time
A basic formatter that combines a basic weekyear date and time, separated by a T: xxxx'W'wwe'T'HHmmss.SSSZ.
Declaration
public const string basic_week_date_time = "basic_week_date_time"
Field Value
Type | Description |
---|---|
string |
basic_week_date_time_no_millis
A basic formatter that combines a basic weekyear date and time without millis, separated by a T: xxxx'W'wwe'T'HHmmssZ.
Declaration
public const string basic_week_date_time_no_millis = "basic_week_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
date
A formatter for a full date as four digit year, two digit month of year, and two digit day of month: yyyy-MM-dd.
Declaration
public const string date = "date"
Field Value
Type | Description |
---|---|
string |
date_hour
A formatter that combines a full date and two digit hour of day: yyyy-MM-dd'T'HH.
Declaration
public const string date_hour = "date_hour"
Field Value
Type | Description |
---|---|
string |
date_hour_minute
A formatter that combines a full date, two digit hour of day, and two digit minute of hour: yyyy-MM-dd'T'HH:mm.
Declaration
public const string date_hour_minute = "date_hour_minute"
Field Value
Type | Description |
---|---|
string |
date_hour_minute_second
A formatter that combines a full date, two digit hour of day, two digit minute of hour, and two digit second of minute: yyyy-MM-dd'T'HH:mm:ss.
Declaration
public const string date_hour_minute_second = "date_hour_minute_second"
Field Value
Type | Description |
---|---|
string |
date_hour_minute_second_fraction
A formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: yyyy-MM-dd'T'HH:mm:ss.SSS.
Declaration
public const string date_hour_minute_second_fraction = "date_hour_minute_second_fraction"
Field Value
Type | Description |
---|---|
string |
date_hour_minute_second_millis
A formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: yyyy-MM-dd'T'HH:mm:ss.SSS.
Declaration
public const string date_hour_minute_second_millis = "date_hour_minute_second_millis"
Field Value
Type | Description |
---|---|
string |
date_optional_time
A basic formatter for a full date as four digit year, two digit month of year, and two digit day of month: yyyyMMdd.
Declaration
public const string date_optional_time = "date_optional_time"
Field Value
Type | Description |
---|---|
string |
date_time
A formatter that combines a full date and time, separated by a T: yyyy-MM-dd'T'HH:mm:ss.SSSZZ.
Declaration
public const string date_time = "date_time"
Field Value
Type | Description |
---|---|
string |
date_time_no_millis
A formatter that combines a full date and time without millis, separated by a T: yyyy-MM-dd'T'HH:mm:ssZZ.
Declaration
public const string date_time_no_millis = "date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
epoch_millis
A formatter for the number of milliseconds since the epoch. Note, that this timestamp is subject to the limits of a Java Long.MIN_VALUE and Long.MAX_VALUE.
Declaration
public const string epoch_millis = "epoch_millis"
Field Value
Type | Description |
---|---|
string |
epoch_second
A formatter for the number of seconds since the epoch. Note, that this timestamp is subject to the limits of a Java Long.MIN_VALUE and Long. MAX_VALUE divided by 1000 (the number of milliseconds in a second).
Declaration
public const string epoch_second = "epoch_second"
Field Value
Type | Description |
---|---|
string |
hour
A formatter for a two digit hour of day: HH
Declaration
public const string hour = "hour"
Field Value
Type | Description |
---|---|
string |
hour_minute
A formatter for a two digit hour of day and two digit minute of hour: HH:mm.
Declaration
public const string hour_minute = "hour_minute"
Field Value
Type | Description |
---|---|
string |
hour_minute_second
A formatter for a two digit hour of day, two digit minute of hour, and two digit second of minute: HH:mm:ss.
Declaration
public const string hour_minute_second = "hour_minute_second"
Field Value
Type | Description |
---|---|
string |
hour_minute_second_fraction
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: HH:mm:ss.SSS.
Declaration
public const string hour_minute_second_fraction = "hour_minute_second_fraction"
Field Value
Type | Description |
---|---|
string |
hour_minute_second_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: HH:mm:ss.SSS.
Declaration
public const string hour_minute_second_millis = "hour_minute_second_millis"
Field Value
Type | Description |
---|---|
string |
ordinal_date
A formatter for a full ordinal date, using a four digit year and three digit dayOfYear: yyyy-DDD.
Declaration
public const string ordinal_date = "ordinal_date"
Field Value
Type | Description |
---|---|
string |
ordinal_date_time
A formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear: yyyy-DDD'T'HH:mm:ss.SSSZZ.
Declaration
public const string ordinal_date_time = "ordinal_date_time"
Field Value
Type | Description |
---|---|
string |
ordinal_date_time_no_millis
A formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear: yyyy-DDD'T'HH:mm:ssZZ.
Declaration
public const string ordinal_date_time_no_millis = "ordinal_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_basic_week_date
A basic formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx'W'wwe.
Declaration
public const string strict_basic_week_date = "strict_basic_week_date"
Field Value
Type | Description |
---|---|
string |
strict_basic_week_date_time
A basic formatter that combines a basic weekyear date and time, separated by a T: xxxx'W'wwe'T'HHmmss.SSSZ.
Declaration
public const string strict_basic_week_date_time = "strict_basic_week_date_time"
Field Value
Type | Description |
---|---|
string |
strict_basic_week_date_time_no_millis
A basic formatter that combines a basic weekyear date and time without millis, separated by a T: xxxx'W'wwe'T'HHmmssZ.
Declaration
public const string strict_basic_week_date_time_no_millis = "strict_basic_week_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_date
A formatter for a full date as four digit year, two digit month of year, and two digit day of month: yyyy-MM-dd.
Declaration
public const string strict_date = "strict_date"
Field Value
Type | Description |
---|---|
string |
strict_date_hour
A formatter that combines a full date and two digit hour of day: yyyy-MM-dd'T'HH.
Declaration
public const string strict_date_hour = "strict_date_hour"
Field Value
Type | Description |
---|---|
string |
strict_date_hour_minute
A formatter that combines a full date, two digit hour of day, and two digit minute of hour: yyyy-MM-dd'T'HH:mm.
Declaration
public const string strict_date_hour_minute = "strict_date_hour_minute"
Field Value
Type | Description |
---|---|
string |
strict_date_hour_minute_second
A formatter that combines a full date, two digit hour of day, two digit minute of hour, and two digit second of minute: yyyy-MM-dd'T'HH:mm:ss.
Declaration
public const string strict_date_hour_minute_second = "strict_date_hour_minute_second"
Field Value
Type | Description |
---|---|
string |
strict_date_hour_minute_second_fraction
A formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: yyyy-MM-dd'T'HH:mm:ss.SSS.
Declaration
public const string strict_date_hour_minute_second_fraction = "strict_date_hour_minute_second_fraction"
Field Value
Type | Description |
---|---|
string |
strict_date_hour_minute_second_millis
A formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: yyyy-MM-dd'T'HH:mm:ss.SSS.
Declaration
public const string strict_date_hour_minute_second_millis = "strict_date_hour_minute_second_millis"
Field Value
Type | Description |
---|---|
string |
strict_date_time
A formatter that combines a full date and time, separated by a T: yyyy-MM-dd'T'HH:mm:ss.SSSZZ.
Declaration
public const string strict_date_time = "strict_date_time"
Field Value
Type | Description |
---|---|
string |
strict_date_time_no_millis
A formatter that combines a full date and time without millis, separated by a T: yyyy-MM-dd'T'HH:mm:ssZZ.
Declaration
public const string strict_date_time_no_millis = "strict_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_hour
A formatter for a two digit hour of day: HH
Declaration
public const string strict_hour = "strict_hour"
Field Value
Type | Description |
---|---|
string |
strict_hour_minute
A formatter for a two digit hour of day and two digit minute of hour: HH:mm.
Declaration
public const string strict_hour_minute = "strict_hour_minute"
Field Value
Type | Description |
---|---|
string |
strict_hour_minute_second
A formatter for a two digit hour of day, two digit minute of hour, and two digit second of minute: HH:mm:ss.
Declaration
public const string strict_hour_minute_second = "strict_hour_minute_second"
Field Value
Type | Description |
---|---|
string |
strict_hour_minute_second_fraction
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: HH:mm:ss.SSS.
Declaration
public const string strict_hour_minute_second_fraction = "strict_hour_minute_second_fraction"
Field Value
Type | Description |
---|---|
string |
strict_hour_minute_second_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second: HH:mm:ss.SSS.
Declaration
public const string strict_hour_minute_second_millis = "strict_hour_minute_second_millis"
Field Value
Type | Description |
---|---|
string |
strict_ordinal_date
A formatter for a full ordinal date, using a four digit year and three digit dayOfYear: yyyy-DDD.
Declaration
public const string strict_ordinal_date = "strict_ordinal_date"
Field Value
Type | Description |
---|---|
string |
strict_ordinal_date_time
A formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear: yyyy-DDD'T'HH:mm:ss.SSSZZ.
Declaration
public const string strict_ordinal_date_time = "strict_ordinal_date_time"
Field Value
Type | Description |
---|---|
string |
strict_ordinal_date_time_no_millis
A formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear: yyyy-DDD'T'HH:mm:ssZZ.
Declaration
public const string strict_ordinal_date_time_no_millis = "strict_ordinal_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_t_time
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset prefixed by T: 'T'HH:mm:ss.SSSZZ.
Declaration
public const string strict_t_time = "strict_t_time"
Field Value
Type | Description |
---|---|
string |
strict_t_time_no_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by T: 'T'HH:mm:ssZZ.
Declaration
public const string strict_t_time_no_millis = "strict_t_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_time
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset: HH:mm:ss.SSSZZ.
Declaration
public const string strict_time = "strict_time"
Field Value
Type | Description |
---|---|
string |
strict_time_no_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset: HH:mm:ssZZ.
Declaration
public const string strict_time_no_millis = "strict_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_week_date
A formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx-'W'ww-e.
Declaration
public const string strict_week_date = "strict_week_date"
Field Value
Type | Description |
---|---|
string |
strict_week_date_time
A formatter that combines a full weekyear date and time, separated by a T: xxxx-'W'ww-e'T'HH:mm:ss.SSSZZ.
Declaration
public const string strict_week_date_time = "strict_week_date_time"
Field Value
Type | Description |
---|---|
string |
strict_week_date_time_no_millis
A formatter that combines a full weekyear date and time without millis, separated by a T: xxxx-'W'ww-e'T'HH:mm:ssZZ.
Declaration
public const string strict_week_date_time_no_millis = "strict_week_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
strict_weekyear
A formatter for a four digit weekyear: xxxx.
Declaration
public const string strict_weekyear = "strict_weekyear"
Field Value
Type | Description |
---|---|
string |
strict_weekyear_week
A formatter for a four digit weekyear and two digit week of weekyear: xxxx-'W'ww.
Declaration
public const string strict_weekyear_week = "strict_weekyear_week"
Field Value
Type | Description |
---|---|
string |
strict_weekyear_week_day
A formatter for a four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx-'W'ww-e.
Declaration
public const string strict_weekyear_week_day = "strict_weekyear_week_day"
Field Value
Type | Description |
---|---|
string |
strict_year
A formatter for a four digit year: yyyy.
Declaration
public const string strict_year = "strict_year"
Field Value
Type | Description |
---|---|
string |
strict_year_month
A formatter for a four digit year and two digit month of year: yyyy-MM.
Declaration
public const string strict_year_month = "strict_year_month"
Field Value
Type | Description |
---|---|
string |
strict_year_month_day
A formatter for a four digit year, two digit month of year, and two digit day of month: yyyy-MM-dd.
Declaration
public const string strict_year_month_day = "strict_year_month_day"
Field Value
Type | Description |
---|---|
string |
t_time
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset prefixed by T: 'T'HH:mm:ss.SSSZZ.
Declaration
public const string t_time = "t_time"
Field Value
Type | Description |
---|---|
string |
t_time_no_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by T: 'T'HH:mm:ssZZ.
Declaration
public const string t_time_no_millis = "t_time_no_millis"
Field Value
Type | Description |
---|---|
string |
time
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset: HH:mm:ss.SSSZZ.
Declaration
public const string time = "time"
Field Value
Type | Description |
---|---|
string |
time_no_millis
A formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset: HH:mm:ssZZ.
Declaration
public const string time_no_millis = "time_no_millis"
Field Value
Type | Description |
---|---|
string |
week_date
A formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx-'W'ww-e.
Declaration
public const string week_date = "week_date"
Field Value
Type | Description |
---|---|
string |
week_date_time
A formatter that combines a full weekyear date and time, separated by a T: xxxx-'W'ww-e'T'HH:mm:ss.SSSZZ.
Declaration
public const string week_date_time = "week_date_time"
Field Value
Type | Description |
---|---|
string |
week_date_time_no_millis
A formatter that combines a full weekyear date and time without millis, separated by a T: xxxx-'W'ww-e'T'HH:mm:ssZZ.
Declaration
public const string week_date_time_no_millis = "week_date_time_no_millis"
Field Value
Type | Description |
---|---|
string |
weekyear
A formatter for a four digit weekyear: xxxx.
Declaration
public const string weekyear = "weekyear"
Field Value
Type | Description |
---|---|
string |
weekyear_week
A formatter for a four digit weekyear and two digit week of weekyear: xxxx-'W'ww.
Declaration
public const string weekyear_week = "weekyear_week"
Field Value
Type | Description |
---|---|
string |
weekyear_week_day
A formatter for a four digit weekyear, two digit week of weekyear, and one digit day of week: xxxx-'W'ww-e.
Declaration
public const string weekyear_week_day = "weekyear_week_day"
Field Value
Type | Description |
---|---|
string |
year
A formatter for a four digit year: yyyy.
Declaration
public const string year = "year"
Field Value
Type | Description |
---|---|
string |
year_month
A formatter for a four digit year and two digit month of year: yyyy-MM.
Declaration
public const string year_month = "year_month"
Field Value
Type | Description |
---|---|
string |
year_month_day
A formatter for a four digit year, two digit month of year, and two digit day of month: yyyy-MM-dd.
Declaration
public const string year_month_day = "year_month_day"
Field Value
Type | Description |
---|---|
string |