public class TimeParser extends Object
| Constructor and Description |
|---|
TimeParser() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLongTime(String time,
String format)
Get the given string time value as long value.
|
void |
setTimeInCalendar(Calendar calendar,
String time,
String format)
Set the given time into the given
Calendar instance. |
public long getLongTime(String time, String format)
time - time value in stringformat - date time format for the given time value.Copyright © 2024. All rights reserved.