org.mule.api.el.datetime
Interface Instant

All Known Subinterfaces:
Date, Time
All Known Implementing Classes:
AbstractInstant, DateTime

public interface Instant


Method Summary
 Instant changeTimeZone(String newTimezone)
           
 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)
           
 

Method Detail

isBefore

boolean isBefore(Instant date)

isAfter

boolean isAfter(Instant date)

format

String format()

format

String format(String pattern)

getTimeZone

String getTimeZone()

withTimeZone

Instant withTimeZone(String newTimezone)

changeTimeZone

Instant changeTimeZone(String newTimezone)

withLocale

Instant withLocale(String locale)

toCalendar

Calendar toCalendar()

toDate

Date toDate()

toXMLCalendar

XMLGregorianCalendar toXMLCalendar()
                                   throws DatatypeConfigurationException
Throws:
DatatypeConfigurationException


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.