Class CalendarHelper

java.lang.Object
de.hybris.platform.acceleratorservices.util.CalendarHelper

public final class CalendarHelper extends Object
Static class containing helper methods for dates and calendar operations.
  • Method Details

    • parseDate

      public static Calendar parseDate(String month, String year)
      Method allowing to parse date from String parameters representing a month and a year
      Parameters:
      month - to parse
      year - to parse
      Returns:
      Calendar with the proper date or null for incorrect parameters
    • getCalendarResetTime

      public static Calendar getCalendarResetTime()
      Method for obtaining a calendar instance with time values set to 0.
      Returns:
      a Calendar object.