to_j_time_zone

to_j_time_zone converts a time zone value into a Java TimeZone.

Important

In query strings, users should choose the built-in function parseTimeZone instead of to_j_time_zone. For more information, see:

Syntax

Parameters

ParameterTypeDescription
tzUnion[None, TimeZone, str, datetime.tzinfo, datetime.datetime, pandas.Timestamp]

The time zone value to convert to a Java TimeZone.

Returns

Returns a TimeZone.

Examples