Class ThreeTenConverterRegistrar
java.lang.Object
io.micronaut.gcp.pubsub.configuration.ThreeTenConverterRegistrar
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverterRegistrar
@Singleton
public class ThreeTenConverterRegistrar
extends Object
implements io.micronaut.core.convert.TypeConverterRegistrar
Type converter used to convert Google's internal Duration type.
- Since:
- 2.0.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(io.micronaut.core.convert.MutableConversionService conversionService)
-
Constructor Details
-
ThreeTenConverterRegistrar
public ThreeTenConverterRegistrar()
-
-
Method Details
-
register
public void register(io.micronaut.core.convert.MutableConversionService conversionService) - Specified by:
register
in interfaceio.micronaut.core.convert.TypeConverterRegistrar
-