Package org.gvsig.timesupport.impl
Class DefaultTimeSupportManager
java.lang.Object
org.gvsig.timesupport.impl.DefaultTimeSupportManager
- All Implemented Interfaces:
org.gvsig.timesupport.TimeSupportManager
public class DefaultTimeSupportManager
extends Object
implements org.gvsig.timesupport.TimeSupportManager
Default
TimeSupportManager implementation.- Version:
- $Id$
- Author:
- gvSIG Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelativeInstantPattern(String relativeInstantPattern) org.gvsig.timesupport.AbsoluteInstantorg.gvsig.timesupport.AbsoluteInstantcreateAbsoluteInstant(int[] types, int[] values) org.gvsig.timesupport.AbsoluteInstantcreateAbsoluteInstant(int[] types, int[] values, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteInstantcreateAbsoluteInstant(int type, int value) org.gvsig.timesupport.AbsoluteInstantcreateAbsoluteInstant(int type, int value, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteInstantcreateAbsoluteInstant(org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, org.gvsig.timesupport.AbsoluteInstant endPartial) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startInstant, org.gvsig.timesupport.AbsoluteInstant endInstant, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.AbsoluteIntervalcreateAbsoluteInterval(org.gvsig.timesupport.RelativeInstant startPartial, org.gvsig.timesupport.RelativeInstant endPartial) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, int chronology) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(long instant) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(long instant, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(Date date) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(Date date, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.RelativeInstantcreateRelativeInstant(org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.RelativeIntervalcreateRelativeInterval(long startInstant, long endInstant) org.gvsig.timesupport.RelativeIntervalcreateRelativeInterval(long startInstant, long endInstant, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.RelativeIntervalcreateRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime) org.gvsig.timesupport.RelativeIntervalcreateRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime, org.gvsig.timesupport.Chronology chronology) org.gvsig.timesupport.animation.TimeAnimationcreateTimeAnimation(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer) org.gvsig.timesupport.AbsoluteInstantTypegetAbsoluteInstantType(int type) org.gvsig.timesupport.AbsoluteIntervalTypegetAbsoluteIntervalType(int type) org.gvsig.timesupport.ChronologygetChronology(int chronology) org.gvsig.timesupport.RelativeInstantparseRelativeInstant(String relativeInstantString) voidregisterAbsoluteInstantType(org.gvsig.timesupport.AbsoluteInstantType absoluteInstantType) voidregisterAbsoluteIntervalType(org.gvsig.timesupport.AbsoluteIntervalType absoluteIntervalType) voidregisterChronology(org.gvsig.timesupport.Chronology chronology) voidsetDefaultChronology(int chronology)
-
Constructor Details
-
DefaultTimeSupportManager
public DefaultTimeSupportManager()
-
-
Method Details
-
registerAbsoluteInstantType
public void registerAbsoluteInstantType(org.gvsig.timesupport.AbsoluteInstantType absoluteInstantType) - Specified by:
registerAbsoluteInstantTypein interfaceorg.gvsig.timesupport.TimeSupportManager
-
getAbsoluteInstantType
public org.gvsig.timesupport.AbsoluteInstantType getAbsoluteInstantType(int type) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException - Specified by:
getAbsoluteInstantTypein interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
-
registerAbsoluteIntervalType
public void registerAbsoluteIntervalType(org.gvsig.timesupport.AbsoluteIntervalType absoluteIntervalType) - Specified by:
registerAbsoluteIntervalTypein interfaceorg.gvsig.timesupport.TimeSupportManager
-
getAbsoluteIntervalType
public org.gvsig.timesupport.AbsoluteIntervalType getAbsoluteIntervalType(int type) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
getAbsoluteIntervalTypein interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
registerChronology
public void registerChronology(org.gvsig.timesupport.Chronology chronology) - Specified by:
registerChronologyin interfaceorg.gvsig.timesupport.TimeSupportManager
-
getChronology
public org.gvsig.timesupport.Chronology getChronology(int chronology) - Specified by:
getChronologyin interfaceorg.gvsig.timesupport.TimeSupportManager
-
setDefaultChronology
public void setDefaultChronology(int chronology) - Specified by:
setDefaultChronologyin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(long instant) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
- Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant()- Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(long instant, org.gvsig.timesupport.Chronology chronology) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(Date date, org.gvsig.timesupport.Chronology chronology) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(org.gvsig.timesupport.Chronology chronology) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, org.gvsig.timesupport.Chronology chronology) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInstant
public org.gvsig.timesupport.RelativeInstant createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, int chronology) - Specified by:
createRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(int type, int value) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException - Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(int[] types, int[] values) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException - Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(int type, int value, org.gvsig.timesupport.Chronology chronology) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException - Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(int[] types, int[] values, org.gvsig.timesupport.Chronology chronology) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException - Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
-
createAbsoluteInstant
public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(org.gvsig.timesupport.Chronology chronology) - Specified by:
createAbsoluteInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInterval
public org.gvsig.timesupport.RelativeInterval createRelativeInterval(long startInstant, long endInstant) - Specified by:
createRelativeIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInterval
public org.gvsig.timesupport.RelativeInterval createRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime) - Specified by:
createRelativeIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInterval
public org.gvsig.timesupport.RelativeInterval createRelativeInterval(long startInstant, long endInstant, org.gvsig.timesupport.Chronology chronology) - Specified by:
createRelativeIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createRelativeInterval
public org.gvsig.timesupport.RelativeInterval createRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime, org.gvsig.timesupport.Chronology chronology) -
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, org.gvsig.timesupport.Chronology chronology) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, org.gvsig.timesupport.Chronology chronology) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, org.gvsig.timesupport.AbsoluteInstant endPartial) - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(org.gvsig.timesupport.RelativeInstant startPartial, org.gvsig.timesupport.RelativeInstant endPartial) -
createAbsoluteInterval
public org.gvsig.timesupport.AbsoluteInterval createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startInstant, org.gvsig.timesupport.AbsoluteInstant endInstant, org.gvsig.timesupport.Chronology chronology) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException - Specified by:
createAbsoluteIntervalin interfaceorg.gvsig.timesupport.TimeSupportManager- Throws:
org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
-
addRelativeInstantPattern
- Specified by:
addRelativeInstantPatternin interfaceorg.gvsig.timesupport.TimeSupportManager
-
parseRelativeInstant
- Specified by:
parseRelativeInstantin interfaceorg.gvsig.timesupport.TimeSupportManager
-
createTimeAnimation
public org.gvsig.timesupport.animation.TimeAnimation createTimeAnimation(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer) - Specified by:
createTimeAnimationin interfaceorg.gvsig.timesupport.TimeSupportManager
-