java.lang.Object
de.hybris.platform.commercefacades.storelocator.converters.populator.TimeDataPopulator
All Implemented Interfaces:
Populator<Date,TimeData>

public class TimeDataPopulator extends Object implements Populator<Date,TimeData>
Converter used to populate a TimeData for given Date respecting current locale to evaluate a TimeData.setFormattedHour(String) respectively.
  • Constructor Details

    • TimeDataPopulator

      public TimeDataPopulator()
  • Method Details

    • setCommerceCommonI18NService

      public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
    • getCurrentLocale

      protected Locale getCurrentLocale()
    • populate

      public void populate(Date source, TimeData target)
      Description copied from interface: Populator
      Populate the target instance with values from the source instance.
      Specified by:
      populate in interface Populator<Date,TimeData>
      Parameters:
      source - the source object
      target - the target to fill
    • getDateFormat

      protected DateFormat getDateFormat()
    • getCommerceCommonI18NService

      protected CommerceCommonI18NService getCommerceCommonI18NService()