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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRelativeInstantPattern(String relativeInstantPattern)
     
    org.gvsig.timesupport.AbsoluteInstant
     
    org.gvsig.timesupport.AbsoluteInstant
    createAbsoluteInstant(int[] types, int[] values)
     
    org.gvsig.timesupport.AbsoluteInstant
    createAbsoluteInstant(int[] types, int[] values, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.AbsoluteInstant
    createAbsoluteInstant(int type, int value)
     
    org.gvsig.timesupport.AbsoluteInstant
    createAbsoluteInstant(int type, int value, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.AbsoluteInstant
    createAbsoluteInstant(org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.AbsoluteInterval
    createAbsoluteInterval(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis)
     
    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)
     
    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.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)
     
    org.gvsig.timesupport.AbsoluteInterval
    createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startPartial, org.gvsig.timesupport.AbsoluteInstant endPartial)
     
    org.gvsig.timesupport.AbsoluteInterval
    createAbsoluteInterval(org.gvsig.timesupport.AbsoluteInstant startInstant, org.gvsig.timesupport.AbsoluteInstant endInstant, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.AbsoluteInterval
    createAbsoluteInterval(org.gvsig.timesupport.RelativeInstant startPartial, org.gvsig.timesupport.RelativeInstant endPartial)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, int chronology)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(long instant)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(long instant, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.RelativeInstant
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(Date date, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.RelativeInstant
    createRelativeInstant(org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.RelativeInterval
    createRelativeInterval(long startInstant, long endInstant)
     
    org.gvsig.timesupport.RelativeInterval
    createRelativeInterval(long startInstant, long endInstant, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.RelativeInterval
    createRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime)
     
    org.gvsig.timesupport.RelativeInterval
    createRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime, org.gvsig.timesupport.Chronology chronology)
     
    org.gvsig.timesupport.animation.TimeAnimation
    createTimeAnimation(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer)
     
    org.gvsig.timesupport.AbsoluteInstantType
     
    org.gvsig.timesupport.AbsoluteIntervalType
     
    org.gvsig.timesupport.Chronology
    getChronology(int chronology)
     
    org.gvsig.timesupport.RelativeInstant
    parseRelativeInstant(String relativeInstantString)
     
    void
    registerAbsoluteInstantType(org.gvsig.timesupport.AbsoluteInstantType absoluteInstantType)
     
    void
    registerAbsoluteIntervalType(org.gvsig.timesupport.AbsoluteIntervalType absoluteIntervalType)
     
    void
    registerChronology(org.gvsig.timesupport.Chronology chronology)
     
    void
    setDefaultChronology(int chronology)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultTimeSupportManager

      public DefaultTimeSupportManager()
  • Method Details

    • registerAbsoluteInstantType

      public void registerAbsoluteInstantType(org.gvsig.timesupport.AbsoluteInstantType absoluteInstantType)
      Specified by:
      registerAbsoluteInstantType in interface org.gvsig.timesupport.TimeSupportManager
    • getAbsoluteInstantType

      public org.gvsig.timesupport.AbsoluteInstantType getAbsoluteInstantType(int type) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
      Specified by:
      getAbsoluteInstantType in interface org.gvsig.timesupport.TimeSupportManager
      Throws:
      org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
    • registerAbsoluteIntervalType

      public void registerAbsoluteIntervalType(org.gvsig.timesupport.AbsoluteIntervalType absoluteIntervalType)
      Specified by:
      registerAbsoluteIntervalType in interface org.gvsig.timesupport.TimeSupportManager
    • getAbsoluteIntervalType

      public org.gvsig.timesupport.AbsoluteIntervalType getAbsoluteIntervalType(int type) throws org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
      Specified by:
      getAbsoluteIntervalType in interface org.gvsig.timesupport.TimeSupportManager
      Throws:
      org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
    • registerChronology

      public void registerChronology(org.gvsig.timesupport.Chronology chronology)
      Specified by:
      registerChronology in interface org.gvsig.timesupport.TimeSupportManager
    • getChronology

      public org.gvsig.timesupport.Chronology getChronology(int chronology)
      Specified by:
      getChronology in interface org.gvsig.timesupport.TimeSupportManager
    • setDefaultChronology

      public void setDefaultChronology(int chronology)
      Specified by:
      setDefaultChronology in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInstant

      public org.gvsig.timesupport.RelativeInstant createRelativeInstant(long instant)
      Specified by:
      createRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInstant

      public org.gvsig.timesupport.RelativeInstant createRelativeInstant(Date date)
      Specified by:
      createRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createAbsoluteInstant

      public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant()
      Specified by:
      createAbsoluteInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInstant

      public org.gvsig.timesupport.RelativeInstant createRelativeInstant(long instant, org.gvsig.timesupport.Chronology chronology)
      Specified by:
      createRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInstant

      public org.gvsig.timesupport.RelativeInstant createRelativeInstant(Date date, org.gvsig.timesupport.Chronology chronology)
      Specified by:
      createRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInstant

      public org.gvsig.timesupport.RelativeInstant createRelativeInstant(org.gvsig.timesupport.Chronology chronology)
      Specified by:
      createRelativeInstant in interface org.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:
      createRelativeInstant in interface org.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:
      createRelativeInstant in interface org.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:
      createRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createAbsoluteInstant

      public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(int type, int value) throws org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
      Specified by:
      createAbsoluteInstant in interface org.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:
      createAbsoluteInstant in interface org.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:
      createAbsoluteInstant in interface org.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:
      createAbsoluteInstant in interface org.gvsig.timesupport.TimeSupportManager
      Throws:
      org.gvsig.timesupport.AbsoluteInstantTypeNotRegisteredException
    • createAbsoluteInstant

      public org.gvsig.timesupport.AbsoluteInstant createAbsoluteInstant(org.gvsig.timesupport.Chronology chronology)
      Specified by:
      createAbsoluteInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInterval

      public org.gvsig.timesupport.RelativeInterval createRelativeInterval(long startInstant, long endInstant)
      Specified by:
      createRelativeInterval in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInterval

      public org.gvsig.timesupport.RelativeInterval createRelativeInterval(org.gvsig.timesupport.RelativeInstant startDateTime, org.gvsig.timesupport.RelativeInstant endDateTime)
      Specified by:
      createRelativeInterval in interface org.gvsig.timesupport.TimeSupportManager
    • createRelativeInterval

      public org.gvsig.timesupport.RelativeInterval createRelativeInterval(long startInstant, long endInstant, org.gvsig.timesupport.Chronology chronology)
      Specified by:
      createRelativeInterval in interface org.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:
      createAbsoluteInterval in interface org.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:
      createAbsoluteInterval in interface org.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:
      createAbsoluteInterval in interface org.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:
      createAbsoluteInterval in interface org.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:
      createAbsoluteInterval in interface org.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:
      createAbsoluteInterval in interface org.gvsig.timesupport.TimeSupportManager
      Throws:
      org.gvsig.timesupport.AbsoluteIntervalTypeNotRegisteredException
    • addRelativeInstantPattern

      public void addRelativeInstantPattern(String relativeInstantPattern)
      Specified by:
      addRelativeInstantPattern in interface org.gvsig.timesupport.TimeSupportManager
    • parseRelativeInstant

      public org.gvsig.timesupport.RelativeInstant parseRelativeInstant(String relativeInstantString)
      Specified by:
      parseRelativeInstant in interface org.gvsig.timesupport.TimeSupportManager
    • createTimeAnimation

      public org.gvsig.timesupport.animation.TimeAnimation createTimeAnimation(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer)
      Specified by:
      createTimeAnimation in interface org.gvsig.timesupport.TimeSupportManager