Class DateHelper
java.lang.Object
com.exxothermic.audioeverywheresdk.helper.logic.DateHelper
Class taht will provide helper methods for Dates, either generation and / or validation
- Since:
- 03/09/15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
static long
Method that will generate a timestamp for a future date.
-
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()
-