org.postgresql.jdbc.TimestampUtils.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 4?
:34
3 }56
3 }78
?9 }: }; }< }= }>?
@
A
BC
D
E
F
0GH
I
}J
}K
}L M
}N O PQR
ST
!@ U
VW X YZ [ \ ]
}^ _`
0ab
0c defghij
kl mn
8o
0pq
0rst?????
Auv? Um?
}w
}xy
Kz
K{
A|} ~
~?? ?? ??
?? ?? ??
??
?? ?? ??
K?
??
?? ??
??
??
q?
??
~?
??
}? ?? +? +? ?? ? ?]
??
?? B@?
qu
K?
}?
}?
A?
}?
}?
}?
K?
}?
A??;??
}?
K?
?
}?
}?
}?
}?
}?
??
K?
}?
}?
p }?
? }?
?
}?
?
?
}?
????? ??
?r }?
??
}?
}? }?
~?
~? }?
~?
}? }?
?? }?
??
??
??
??
??
??
??
}? }?
?? }?
??
??
??
??
}? ??
??
??
??
~?
~?
~?
??
V?
!3??
8?
?? Q?
}??l?#??{??.?e??
}??
?u }?
0?? }? }?
???
???
??@?@
??A.??
~?
}????
?I?? ???????? B@
} 8mC?
?
?
}
? &\
} ????'?c?
/ ?????P? s??? ???????? ????Sխ ?*S ????C??6
?
}
? }
?
3
?
~
?
?
?
?4
0
?
!"
0#
:r$ InnerClasses% Infinity ParsedBinaryTimestamp ParsedTimestamp ONEDAY I
ConstantValue&\ ZEROS [C NUMBERS [[C GMT_ZONES Ljava/util/HashMap; Signature ;Ljava/util/HashMap; MAX_NANOS_BEFORE_WRAP_ON_ROUND ONE_MICROSECOND Ljava/time/Duration; MAX_TIME Ljava/time/LocalTime; MAX_OFFSET_DATETIME Ljava/time/OffsetDateTime; MAX_LOCAL_DATETIME Ljava/time/LocalDateTime; MIN_LOCAL_DATE Ljava/time/LocalDate; MIN_LOCAL_DATETIME MIN_OFFSET_DATETIME DEFAULT_TIME_ZONE_FIELD Ljava/lang/reflect/Field; prevDefaultZoneFieldValue Ljava/util/TimeZone; defaultTimeZoneCache sbuf Ljava/lang/StringBuilder; calendarWithUserTz Ljava/util/Calendar; utcTz calCache calCacheZone
usesDouble Z timeZoneProvider Lorg/postgresql/core/Provider; 4Lorg/postgresql/core/Provider; "(ZLorg/postgresql/core/Provider;)V Code LineNumberTable LocalVariableTable this $Lorg/postgresql/jdbc/TimestampUtils; LocalVariableTypeTable 8(ZLorg/postgresql/core/Provider;)V getCalendar (IIII)Ljava/util/Calendar; sign hr min sec rawOffset zoneID syntheticTZ
StackMapTable parseBackendTimestamp H(Ljava/lang/String;)Lorg/postgresql/jdbc/TimestampUtils$ParsedTimestamp; sep C numlength num tzmin tzsign tzhr tzsec eraString Ljava/lang/String; start end nfe !Ljava/lang/NumberFormatException; str s slen result 4Lorg/postgresql/jdbc/TimestampUtils$ParsedTimestamp;
Exceptions& toTimestamp <(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Timestamp; cal ts useCal Ljava/sql/Timestamp; toLocalTime )(Ljava/lang/String;)Ljava/time/LocalTime; )Ljava/time/format/DateTimeParseException; toLocalDateTime -(Ljava/lang/String;)Ljava/time/LocalDateTime;' toOffsetDateTime .(Ljava/lang/String;)Ljava/time/OffsetDateTime;
offsetSeconds tz
zoneOffset Ljava/time/ZoneOffset;() +(Ljava/sql/Time;)Ljava/time/OffsetDateTime; t Ljava/sql/Time; toOffsetDateTimeBin ([B)Ljava/time/OffsetDateTime; bytes [B parsedTimestamp :Lorg/postgresql/jdbc/TimestampUtils$ParsedBinaryTimestamp; instant Ljava/time/Instant; toTime 7(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Time;
timeMillis J toDate 7(Ljava/util/Calendar;Ljava/lang/String;)Ljava/sql/Date; timestamp
setupCalendar *(Ljava/util/Calendar;)Ljava/util/Calendar; timeZone getSharedCalendar *(Ljava/util/TimeZone;)Ljava/util/Calendar; tmp nanosExceed499 (I)Z nanos toString <(Ljava/util/Calendar;Ljava/sql/Timestamp;)Ljava/lang/String; x =(Ljava/util/Calendar;Ljava/sql/Timestamp;Z)Ljava/lang/String; withTimeZone 7(Ljava/util/Calendar;Ljava/sql/Date;)Ljava/lang/String; Ljava/sql/Date; 8(Ljava/util/Calendar;Ljava/sql/Date;Z)Ljava/lang/String; 7(Ljava/util/Calendar;Ljava/sql/Time;)Ljava/lang/String; 8(Ljava/util/Calendar;Ljava/sql/Time;Z)Ljava/lang/String;
appendDate 0(Ljava/lang/StringBuilder;Ljava/util/Calendar;)V sb year month day (Ljava/lang/StringBuilder;III)V
prevLength leadingZerosForYear
appendTime 1(Ljava/lang/StringBuilder;Ljava/util/Calendar;I)V hours minutes seconds (Ljava/lang/StringBuilder;IIII)V len needZeros appendTimeZone offset (Ljava/lang/StringBuilder;I)V absoff mins secs appendEra )(Ljava/time/LocalDate;)Ljava/lang/String; localDate )(Ljava/time/LocalTime;)Ljava/lang/String; localTime nano .(Ljava/time/OffsetDateTime;)Ljava/lang/String; offsetDateTime
localDateTime -(Ljava/time/LocalDateTime;)Ljava/lang/String;
zonedDateTime Ljava/time/ZonedDateTime; 1(Ljava/lang/StringBuilder;Ljava/time/LocalDate;)V 1(Ljava/lang/StringBuilder;Ljava/time/LocalTime;)V 2(Ljava/lang/StringBuilder;Ljava/time/ZoneOffset;)V skipWhitespace ([CI)I i
firstNonDigit number ([CII)I n charAt ([CI)C pos toDateBin '(Ljava/util/TimeZone;[B)Ljava/sql/Date; days millis getDefaultTz ()Ljava/util/TimeZone; defaultTimeZone hasFastDefaultTimeZone ()Z toTimeBin '(Ljava/util/TimeZone;[B)Ljava/sql/Time; time D
timeOffset toLocalTimeBin ([B)Ljava/time/LocalTime; micros toTimestampBin -(Ljava/util/TimeZone;[BZ)Ljava/sql/Timestamp; timestamptz toParsedTimestampBinPlain >([B)Lorg/postgresql/jdbc/TimestampUtils$ParsedBinaryTimestamp;? toParsedTimestampBin S(Ljava/util/TimeZone;[BZ)Lorg/postgresql/jdbc/TimestampUtils$ParsedBinaryTimestamp; toProlepticParsedTimestampBin toLocalDateTimeBin ([B)Ljava/time/LocalDateTime; guessTimestamp (JLjava/util/TimeZone;)J era hour ms isSimpleTimeZone (Ljava/lang/String;)Z id
convertToDate &(JLjava/util/TimeZone;)Ljava/sql/Date;
convertToTime &(JLjava/util/TimeZone;)Ljava/sql/Time; timeToString %(Ljava/util/Date;Z)Ljava/lang/String; Ljava/util/Date;
toJavaSecs (J)J
extraLeaps toPgSecs years toBinDate ((Ljava/util/TimeZone;[BLjava/sql/Date;)V value parseBackendTimeZone ((Ljava/lang/String;)Ljava/util/TimeZone; floorDiv (JJ)J y r floorMod ()V
pgZoneName defaultTz tzFromField Ljava/lang/Object; tzField e Ljava/lang/Exception;6*
SourceFile TimestampUtils.javaY' java/lang/StringBuilderMN java/util/GregorianCalendarOP UTC+ QKTUVWRPS0 GMTY,-.-/ java/util/SimpleTimeZone?0Y1Y234 2org/postgresql/jdbc/TimestampUtils$ParsedTimestampY5??????6U???0?0 java/lang/NumberFormatException )Expected date to be dash-separated, got '-7 '?089:;U0 *Expected time to be colon-separated, got '<0=0?0bc?P java/lang/StringY> AD?
0 BC Trailing junk on timestamp: ' #Timestamp has neither date nor time !org/postgresql/util/PSQLException +Bad value for type timestamp/date/time: {1} java/lang/Object@ABCDEYFGH infinityIJ java/sql/Timestamp org/postgresql/PGStatementYK -infinitylm?? java/util/CalendarLMNOPQ 24:00:00RS?TU 'java/time/format/DateTimeParseExceptionSCVCWXYZ[\]^_H`aSAVAbcdeWf8?gh`i?jkWlmnohqpqprp??stuvw
java/sql/Time+???xO????y2??zH "org/postgresql/jdbc/TimestampUtils??{K|Q??????????}~????34?56-??????/????c + - BCSEDE??????>????H<=????@A??GA????????????BC??FC????????????[b??H?H?H?H?H?H?: #Unsupported binary encoding of {0}. dateY????
java/sql/DateHIb? java/util/TimeZoneJKLK??? java/lang/Exception???????? java/lang/Double 8org/postgresql/jdbc/TimestampUtils$ParsedBinaryTimestamp java/lang/Long t??0
?H!"?b?????78 java/util/HashMap???????????`??? 0 ?????Y????????????? $org/postgresql/jdbc/TimestampUtils$1 +org/postgresql/jdbc/TimestampUtils$Infinity java/sql/SQLException java/time/LocalDateTime java/time/ZoneOffset java/time/OffsetDateTime java/lang/reflect/Field getTimeZone (Ljava/lang/String;)V append (C)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; ()Ljava/lang/String; (ILjava/lang/String;)V (Ljava/util/TimeZone;)V toCharArray ()[C )(Lorg/postgresql/jdbc/TimestampUtils$1;)V hasDate -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/Character isDigit (C)Z hasTime minute second ([CII)V
startsWith org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState BAD_DATETIME_FORMAT Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V length ()I equals (Ljava/lang/Object;)Z (J)V set (II)V getTimeInMillis ()J setNanos (I)V java/time/LocalTime MAX parse /(Ljava/lang/CharSequence;)Ljava/time/LocalTime; MIN of "(IIIIIII)Ljava/time/LocalDateTime; java/time/temporal/ChronoField ERA Ljava/time/temporal/ChronoField; java/time/chrono/IsoEra BCE Ljava/time/chrono/IsoEra; getValue with >(Ljava/time/temporal/TemporalField;J)Ljava/time/LocalDateTime; get (I)I ofTotalSeconds (I)Ljava/time/ZoneOffset; 9(IIIIIIILjava/time/ZoneOffset;)Ljava/time/OffsetDateTime; withOffsetSameInstant 2(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime; ?(Ljava/time/temporal/TemporalField;J)Ljava/time/OffsetDateTime; ()Ljava/time/LocalTime; java/time/LocalDate (III)Ljava/time/LocalDate; atDate 0(Ljava/time/LocalDate;)Ljava/time/LocalDateTime; atOffset -Lorg/postgresql/jdbc/TimestampUtils$Infinity; POSITIVE NEGATIVE java/time/Instant
ofEpochSecond (JJ)Ljava/time/Instant; ofInstant A(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/OffsetDateTime; getTime setTimeZone getNanos setTimeInMillis setLength setTime (Ljava/util/Date;)V insert (I[CII)Ljava/lang/StringBuilder; ([C)Ljava/lang/StringBuilder; (I)C deleteCharAt java/lang/Math abs isBefore %(Ljava/time/chrono/ChronoLocalDate;)Z isAfter (Ljava/time/LocalTime;)Z getNano plus :(Ljava/time/temporal/TemporalAmount;)Ljava/time/LocalTime; (Ljava/time/OffsetDateTime;)Z ?(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime; ()Ljava/time/LocalDateTime; toLocalDate ()Ljava/time/LocalDate; getOffset ()Ljava/time/ZoneOffset; )(Ljava/time/chrono/ChronoLocalDateTime;)Z toZoneId ()Ljava/time/ZoneId; atZone -(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime; java/time/ZonedDateTime ()Ljava/time/OffsetDateTime; YEAR_OF_ERA %(Ljava/time/temporal/TemporalField;)I
getMonthValue
getDayOfMonth getHour getMinute getSecond getTotalSeconds isSpace 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V !org/postgresql/util/ByteConverter int4 ([BI)I &(Ljava/lang/Object;)Ljava/lang/Object; %org/postgresql/util/internal/Nullness castNonNull
getDefault float8 ([BI)D int8 ([BI)J ofNanoOfDay (J)Ljava/time/LocalTime; 3(JILjava/time/ZoneOffset;)Ljava/time/LocalDateTime; getID getRawOffset org/postgresql/core/Provider ()Ljava/lang/Object; (J)I ([BII)V java/time/Duration ofNanos (J)Ljava/time/Duration; minus ofMillis >(Ljava/time/temporal/TemporalAmount;)Ljava/time/LocalDateTime; :(Ljava/time/temporal/TemporalField;J)Ljava/time/LocalDate; atStartOfDay java/lang/Integer (I)Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ([C)V org/postgresql/core/JavaVersion getRuntimeVersion #()Lorg/postgresql/core/JavaVersion; v1_8 !Lorg/postgresql/core/JavaVersion; compareTo (Ljava/lang/Enum;)I java/lang/Class getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
setAccessible (Z)V ! } : /0 1 2 34 56 78 9 : ;0 1 ~ <= >? @A BC DE FC GA HI JK LK MN OP QK RP S0 TU VW 9 X = YZ [ ? .*? *? Y? ? *? Y? ? *? ?
*? *,? ? \ ? r v w # ? ( ? - ?] .^_ .TU .VW ` .VX 9 a bc [ ? ?