We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f6d3b commit 5f30948Copy full SHA for 5f30948
api/src/main/java/org/apache/iceberg/types/Types.java
@@ -218,10 +218,14 @@ public static class TimestampType extends PrimitiveType {
218
private static final TimestampType INSTANCE_NANOS_WITHOUT_ZONE =
219
new TimestampType(false, ChronoUnit.NANOS);
220
221
+ /** @deprecated use {@link #microsWithZone()} instead. */
222
+ @Deprecated
223
public static TimestampType withZone() {
224
return INSTANCE_MICROS_WITH_ZONE;
225
}
226
227
+ /** @deprecated use {@link #microsWithoutZone()} instead. */
228
229
public static TimestampType withoutZone() {
230
return INSTANCE_MICROS_WITHOUT_ZONE;
231
0 commit comments