public class TimeParser extends Object
Constructor and Description |
---|
TimeParser() |
Modifier and Type | Method and Description |
---|---|
static TimeDuration |
getTimeDuration(String time) |
static TimeInterval |
getTimeInterval(String time) |
static TimeInterval |
getTimeInterval(String start,
String end) |
static Timestamp |
getTimeStamp(String time)
A Helper function to help you convert various string represented time
definition to an absolute Timestamp.
|
public static TimeDuration getTimeDuration(String time)
public static TimeInterval getTimeInterval(String time)
public static TimeInterval getTimeInterval(String start, String end)
Copyright © 2015. All rights reserved.