Package org.apache.calcite.util
Class DateTimeStringUtils
java.lang.Object
org.apache.calcite.util.DateTimeStringUtils
Utility methods to manipulate String representation of DateTime values.
- See Also:
- 
- DateTimeUtils
 
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic SimpleDateFormatgetDateFormatter(String format) Create a SimpleDateFormat with format string with default time zone UTC.static SimpleDateFormatgetDateFormatter(String format, TimeZone timeZone) Create a SimpleDateFormat with format string and time zone.
- 
Field Details- 
ISO_DATETIME_FORMATThe SimpleDateFormat string for ISO timestamps, "yyyy-MM-dd'T'HH:mm:ss'Z'".- See Also:
 
- 
ISO_DATETIME_FRACTIONAL_SECOND_FORMATThe SimpleDateFormat string for ISO timestamps with precisions, "yyyy-MM-dd'T'HH:mm:ss .SSS'Z'"- See Also:
 
 
- 
- 
Method Details- 
getDateFormatterCreate a SimpleDateFormat with format string with default time zone UTC.
- 
getDateFormatterCreate a SimpleDateFormat with format string and time zone.
 
-