DateUtils
Date utils.
Types
The ID for a TimeZone.
Properties
Functions
Constructs a SimpleDateFormat using the dateFormat and the Locale.getDefault.
Get current local time string by parsing the utcTime in dateFormat format.
Get date object by parsing timeString in timeStringFormat format.
Formats a Date of System.currentTimeMillis into a date/time string by parsing dateFormat and gmtFormat.
Formats a Date into a date/time string by parsing dateFormat.
Convert the time in the format of timeFormat to milliseconds. Returns null if time parsing exception occurs
Get current time.
Get the default time zone for this host in string.
Get the days before or after the current time.
Get the end timestamp of the week. SUNDAY is the first day of the week.
Get the start timestamp of the week. SUNDAY is the first day of the week.
Get the end timestamp of the week. Monday is the first day of the week.
Get the start timestamp of the week. Monday is the first day of the week.