public class

TimeZoneTypeDescriptor

extends AbstractTypeDescriptor<T>
java.lang.Object
   ↳ org.hibernate.type.descriptor.java.AbstractTypeDescriptor<T>
     ↳ org.hibernate.type.descriptor.java.TimeZoneTypeDescriptor

Class Overview

Descriptor for TimeZone handling.

Summary

Nested Classes
class TimeZoneTypeDescriptor.TimeZoneComparator  
Fields
public static final TimeZoneTypeDescriptor INSTANCE
Public Constructors
TimeZoneTypeDescriptor()
Public Methods
TimeZone fromString(String string)
Comparator<TimeZone> getComparator()
Retrieve the natural comparator for this type.
String toString(TimeZone value)
<X> X unwrap(TimeZone value, Class<X> type, WrapperOptions options)
<X> TimeZone wrap(X value, WrapperOptions options)
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.java.JavaTypeDescriptor

Fields

public static final TimeZoneTypeDescriptor INSTANCE

Public Constructors

public TimeZoneTypeDescriptor ()

Public Methods

public TimeZone fromString (String string)

public Comparator<TimeZone> getComparator ()

Retrieve the natural comparator for this type.

Returns
  • The natural comparator.

public String toString (TimeZone value)

public X unwrap (TimeZone value, Class<X> type, WrapperOptions options)

public TimeZone wrap (X value, WrapperOptions options)