| Modifier and Type | Field and Description |
|---|---|
protected Calendar |
calendar |
protected static DatatypeFactory |
datatypeFactory |
protected Locale |
locale |
| Constructor and Description |
|---|
AbstractInstant() |
AbstractInstant(Calendar calendar,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
Instant |
changeTimeZone(String newTimezone) |
boolean |
equals(Object obj) |
String |
format() |
String |
format(String pattern) |
String |
getTimeZone() |
boolean |
isAfter(Instant date) |
boolean |
isBefore(Instant date) |
Calendar |
toCalendar() |
Date |
toDate() |
XMLGregorianCalendar |
toXMLCalendar() |
Instant |
withLocale(String locale) |
Instant |
withTimeZone(String newTimezone) |
protected Locale locale
protected Calendar calendar
protected static final DatatypeFactory datatypeFactory
public String getTimeZone()
getTimeZone in interface Instantpublic Instant withTimeZone(String newTimezone)
withTimeZone in interface Instantpublic Instant changeTimeZone(String newTimezone)
changeTimeZone in interface Instantpublic Instant withLocale(String locale)
withLocale in interface Instantpublic Calendar toCalendar()
toCalendar in interface Instantpublic XMLGregorianCalendar toXMLCalendar() throws DatatypeConfigurationException
toXMLCalendar in interface InstantDatatypeConfigurationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.