org.n52.oxf.valueDomains.time
Interface ITimePosition

All Superinterfaces:
Comparable<ITimePosition>, Comparator<ITimePosition>, ITime
All Known Implementing Classes:
TimePosition

public interface ITimePosition
extends ITime, Comparable<ITimePosition>, Comparator<ITimePosition>

Specifies a position of time by defining year, month, day, hour, minute and second.

Author:
Arne Broering

Field Summary
 
Fields inherited from interface org.n52.oxf.ows.capabilities.ITime
NOT_SET
 
Method Summary
 boolean after(ITimePosition timePos)
           
 boolean before(ITimePosition timePos)
           
 Calendar getCalendar()
           
 int getDay()
           
 int getHour()
           
 int getMinute()
           
 int getMonth()
           
 float getSecond()
           
 String getTimezone()
           
 long getYear()
           
 
Methods inherited from interface org.n52.oxf.ows.capabilities.ITime
toISO8601Format, toString
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

getYear

long getYear()

getMonth

int getMonth()

getDay

int getDay()

getHour

int getHour()

getMinute

int getMinute()

getSecond

float getSecond()

getTimezone

String getTimezone()

before

boolean before(ITimePosition timePos)

after

boolean after(ITimePosition timePos)

getCalendar

Calendar getCalendar()
Returns:
this ITimePosition as a Calendar object.


Copyright © 2012-2013 52north.org. All Rights Reserved.