de.uplanet.lucy.server.auxiliaries.calendar
Class CalNavigator

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.calendar.CalNavigator

@VelocityCallable(value="instance")
public final class CalNavigator
extends java.lang.Object

This class is a helper Class for velocity.

Version:
$Revision: 75785 $

Constructor Summary
CalNavigator()
          default constructor required for velocity / callables concept
 
Method Summary
 CalNavigator getInstance()
          Method getInstance.
 java.lang.String getIsoDate()
          return the actual date of the calendar in iso format yyy-MM-dd
 java.lang.String getIsoLastDay()
          returns the date of the last day in iso representation
 java.lang.String getIsoLastMonth()
          returns the date of the last month in iso representation
 java.lang.String getIsoLastWeek()
          returns the date of the last week in iso representation
 java.lang.String getIsoLastYear()
          returns the date of the last year in iso representation
 java.lang.String getIsoNextDay()
          returns the date of the next day in iso representation
 java.lang.String getIsoNextMonth()
          returns the date of the next month in iso representation
 java.lang.String getIsoNextWeek()
          returns the date of the next week in iso representation
 java.lang.String getIsoNextYear()
          returns the date of the next year in iso representation
 java.lang.String getIsoToday()
          Method getIsoToday.
 java.util.List<NavMonth> getMonthList()
           
 UpCalendar getNextYearEndCal()
           
 UpCalendar getNextYearStartCal()
           
 UpCalendar getPrevYearEndCal()
           
 UpCalendar getPrevYearStartCal()
           
 java.lang.String getYear()
          returns the year of the actual date
 UpCalendar getYearEndCal()
           
 UpCalendar getYearStartCal()
           
 void init(IServerBridgeRequest p_request)
          Method init.
 void init(IServerBridgeRequest p_request, java.lang.String p_strMonthsBefore, java.lang.String p_strMonthsAfter)
          Method init.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalNavigator

public CalNavigator()
default constructor required for velocity / callables concept

Method Detail

getInstance

public CalNavigator getInstance()
Method getInstance.

Returns:
CalNavigator

init

public void init(IServerBridgeRequest p_request)
Method init.

Parameters:
p_request -

init

public void init(IServerBridgeRequest p_request,
                 java.lang.String p_strMonthsBefore,
                 java.lang.String p_strMonthsAfter)
Method init.

Parameters:
p_request -
p_strMonthsBefore -
p_strMonthsAfter -

getIsoDate

public java.lang.String getIsoDate()
return the actual date of the calendar in iso format yyy-MM-dd

Returns:
String

getYear

public java.lang.String getYear()
returns the year of the actual date

Returns:
String

getIsoNextWeek

public java.lang.String getIsoNextWeek()
returns the date of the next week in iso representation

Returns:
String

getIsoLastWeek

public java.lang.String getIsoLastWeek()
returns the date of the last week in iso representation

Returns:
String

getIsoNextDay

public java.lang.String getIsoNextDay()
returns the date of the next day in iso representation

Returns:
String

getIsoLastDay

public java.lang.String getIsoLastDay()
returns the date of the last day in iso representation

Returns:
String

getIsoNextMonth

public java.lang.String getIsoNextMonth()
returns the date of the next month in iso representation

Returns:
String

getIsoLastMonth

public java.lang.String getIsoLastMonth()
returns the date of the last month in iso representation

Returns:
String

getIsoNextYear

public java.lang.String getIsoNextYear()
returns the date of the next year in iso representation

Returns:
String

getIsoLastYear

public java.lang.String getIsoLastYear()
returns the date of the last year in iso representation

Returns:
String

getIsoToday

public java.lang.String getIsoToday()
Method getIsoToday.

Returns:
String

getMonthList

public java.util.List<NavMonth> getMonthList()
Returns:
List of NavMonths

getYearStartCal

public UpCalendar getYearStartCal()
Returns:
a UpCalendar object

getYearEndCal

public UpCalendar getYearEndCal()
Returns:
a UpCalendar object

getNextYearStartCal

public UpCalendar getNextYearStartCal()
Returns:
a UpCalendar object

getNextYearEndCal

public UpCalendar getNextYearEndCal()
Returns:
a UpCalendar object

getPrevYearStartCal

public UpCalendar getPrevYearStartCal()
Returns:
a UpCalendar object

getPrevYearEndCal

public UpCalendar getPrevYearEndCal()
Returns:
a UpCalendar object


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.