Class FromDateToLocalTimeConverter

java.lang.Object
overit.geocallapp.utilities.rs.converter.FromDateToLocalTimeConverter
All Implemented Interfaces:
Converter<Date,LocalTime>, ConditionalConverter<Date,LocalTime>

public class FromDateToLocalTimeConverter extends Object implements ConditionalConverter<Date,LocalTime>
A ConditionalConverter implementation that transforms Date objects into LocalTime objects.
This converter extracts the time portion from a Date and converts it to a LocalTime using the system default timezone.
The converter is designed to be registered with M2Mapper for automatic date-to-time conversions during object mapping.
Since:
1.0
  • Constructor Details

    • FromDateToLocalTimeConverter

      public FromDateToLocalTimeConverter()
      Creates a new instance of the converter.
  • Method Details