code: @Deprecated
      public static long parseTimestampLiteral(TimeZoneKey timeZoneKey, String value)
      {
          try {
              DateTime dateTime = TIMESTAMP_WITH_TIME_ZONE_FORMATTER.parseDateTime(value);
              return packDateTimeWithZone(dateTime);
          }
          catch (RuntimeException e) {
              return LEGACY_TIMESTAMP_WITHOUT_TIME_ZONE_FORMATTER.withChronology(getChronology(timeZoneKey)).parseMillis(value);
          }
      }
docs: Parse a string (optionally containing a zone) as a value of either TIMESTAMP or TIMESTAMP WITH TIME ZONE type.
  If the string doesn't specify a zone, it is interpreted in {@code timeZoneKey} zone.
  
  @return stack representation of legacy TIMESTAMP or TIMESTAMP WITH TIME ZONE type, depending on input