Package io.sentry.adapters
Class TimeZoneSerializerAdapter
- java.lang.Object
-
- io.sentry.adapters.TimeZoneSerializerAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<java.util.TimeZone>
@Internal public final class TimeZoneSerializerAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<java.util.TimeZone>
-
-
Constructor Summary
Constructors Constructor Description TimeZoneSerializerAdapter(@NotNull SentryOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable com.google.gson.JsonElement
serialize(@Nullable java.util.TimeZone src, @NotNull java.lang.reflect.Type typeOfSrc, @NotNull com.google.gson.JsonSerializationContext context)
-
-
-
Constructor Detail
-
TimeZoneSerializerAdapter
public TimeZoneSerializerAdapter(@NotNull @NotNull SentryOptions options)
-
-
Method Detail
-
serialize
@Nullable public @Nullable com.google.gson.JsonElement serialize(@Nullable @Nullable java.util.TimeZone src, @NotNull @NotNull java.lang.reflect.Type typeOfSrc, @NotNull @NotNull com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<java.util.TimeZone>
-
-