@SuppressWarnings("deprecation") // https://github.com/embulk/embulk/issues/830 static TimestampFormatterRuby ofLegacy(final String formatString, final org.joda.time.DateTimeZone jodaDateTimeZone) { return new TimestampFormatterRuby(new org.jruby.util.RubyDateFormat(formatString, Locale.ENGLISH, true), null, jodaDateTimeZone, formatString); }
@SuppressWarnings("deprecation") // https://github.com/embulk/embulk/issues/830 static TimestampFormatterRuby of(final String formatString, final ZoneOffset zoneOffset) { return new TimestampFormatterRuby(new org.jruby.util.RubyDateFormat(formatString, Locale.ENGLISH, true), zoneOffset, TimeZoneIds.convertZoneOffsetToJodaDateTimeZone(zoneOffset), formatString); }
@Deprecated public org.jruby.util.RubyDateFormat getRubyDateFormat() { if (dateFormat == null) dateFormat = new org.jruby.util.RubyDateFormat("-", Locale.US); return dateFormat; } }
@Deprecated public org.jruby.util.RubyDateFormat getRubyDateFormat() { if (dateFormat == null) dateFormat = new org.jruby.util.RubyDateFormat("-", Locale.US); return dateFormat; } }
@Deprecated public org.jruby.util.RubyDateFormat getRubyDateFormat() { if (dateFormat == null) dateFormat = new org.jruby.util.RubyDateFormat("-", Locale.US, runtime.is1_9()); return dateFormat; }
@Deprecated public org.jruby.util.RubyDateFormat getRubyDateFormat() { if (dateFormat == null) dateFormat = new org.jruby.util.RubyDateFormat("-", Locale.US, runtime.is1_9()); return dateFormat; }