|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.catalog.schema.indexable.tp.TpUtil
public class TpUtil
Timeperiod utilities.
Constructor Summary | |
---|---|
TpUtil()
Default constructor. |
Method Summary | |
---|---|
static void |
advanceToUpperBoundary(Calendar calendar,
String date)
Advances a calendar to the end of date interval. |
static Calendar |
parseIsoDate(String lexicalDate)
Parses an ISO 8601 date string. |
static Calendar |
parseIsoDateTime(String lexicalDateTime)
Parses an ISO 8601 date-time string. |
static String |
printIsoDate(Calendar calendar)
Converts a Calendar value into an ISO 8601 date string. |
static String |
printIsoDateTime(Calendar calendar)
Converts a Calendar value into an ISO 8601 date-time string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TpUtil()
Method Detail |
---|
public static void advanceToUpperBoundary(Calendar calendar, String date)
calendar
- the calendar to advancedate
- the date string associated with the current calendar timepublic static Calendar parseIsoDate(String lexicalDate)
lexicalDate
- the lexical representation of the date
IllegalArgumentException
- if the input does not conform
NullPointerException
- if the input is nullpublic static Calendar parseIsoDateTime(String lexicalDateTime)
lexicalDateTime
- the lexical representation of the date-time
IllegalArgumentException
- if the input does not conform
NullPointerException
- if the input is nullpublic static String printIsoDate(Calendar calendar)
calendar
- the calendar value
public static String printIsoDateTime(Calendar calendar)
calendar
- the calendar value
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |