convertToUnixTimeStamp
Helper utility for converting dates in string format to unix time stamp
Return
Unix based time stamp of type Long measured in milliseconds
Parameters
input date which needs to be converted
pattern representing the originDate, the default is set to defaultInputDatePattern
time zone that the output will be converted to, by default the timezone is set to whatever the current device is set to
See also
(https://developer.android.com/reference/java/time/format/DateTimeFormatter)
Helper utility for converting dates in string format to unix time stamp
Return
Unix based time stamp of type Long measured in milliseconds
Parameters
input date which needs to be converted
date time format representing the originDate
time zone that the output will be converted to, by default the timezone is set to whatever the current device is set to
See also
(https://developer.android.com/reference/java/time/format/DateTimeFormatter)