Class AbstractModelTypeAdapter.TimeTypeAdapter
java.lang.Object
ch.tocco.nice2.types.impl.typeadapters.AbstractModelTypeAdapter
ch.tocco.nice2.types.impl.typeadapters.AbstractModelTypeAdapter.TimeTypeAdapter
- All Implemented Interfaces:
ModelTypeAdapter
- Enclosing class:
AbstractModelTypeAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.types.impl.typeadapters.AbstractModelTypeAdapter
AbstractModelTypeAdapter.BooleanTypeAdapter, AbstractModelTypeAdapter.DateTimeTypeAdapter, AbstractModelTypeAdapter.DateTypeAdapter, AbstractModelTypeAdapter.NumberTypeAdapter, AbstractModelTypeAdapter.StringTypeAdapter, AbstractModelTypeAdapter.TimeTypeAdapter, AbstractModelTypeAdapter.UuidTypeAdapter
Nested classes/interfaces inherited from interface ch.tocco.nice2.types.api.ModelTypeAdapter
ModelTypeAdapter.LocaleAndTimeZone
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprint
(TypedValue<?> value, ModelTypeAdapter.LocaleAndTimeZone localeAndTimeZone) print
(TypedValue<?> value, ModelTypeAdapter.LocaleAndTimeZone localeAndTimeZone, String pattern)
-
Constructor Details
-
TimeTypeAdapter
public TimeTypeAdapter()
-
-
Method Details
-
print
public String print(TypedValue<?> value, ModelTypeAdapter.LocaleAndTimeZone localeAndTimeZone) throws Exception - Throws:
Exception
-
print
public String print(TypedValue<?> value, ModelTypeAdapter.LocaleAndTimeZone localeAndTimeZone, String pattern) throws Exception - Specified by:
print
in interfaceModelTypeAdapter
- Overrides:
print
in classAbstractModelTypeAdapter
- Throws:
Exception
-