java.lang.Object
com.exxothermic.audioeverywheresdk.helper.logic.DateHelper

public class DateHelper extends Object
Class taht will provide helper methods for Dates, either generation and / or validation
Since:
03/09/15
  • Constructor Details

    • DateHelper

      public DateHelper()
  • Method Details

    • getRandomFutureDate

      public static long getRandomFutureDate()
      Method that will generate a timestamp for a future date. The generate time will be always between today and a week from today.
      Returns:
      the timestamp, in seconds, for a date within today and a week from today
    • getAWeekFromToday

      public static long getAWeekFromToday()