convertToTimeStamp
Helper utility for converting dates in string format from one date type to the other
Return
date string following the output pattern of outputDatePattern
Parameters
input date which needs to be converted
pattern representing the originDate, the default is set to defaultInputDatePattern
pattern that will be used create the output, by default this is set to defaultOutputDatePattern
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 from one date type to the other
Return
date string following the output pattern of outputDatePattern
Parameters
input date which needs to be converted
time format representing the originDate
pattern that will be used create the output, by default this is set to defaultOutputDatePattern
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)