org.opengts.war.track
Class Calendar

java.lang.Object
  extended by org.opengts.war.track.Calendar

public class Calendar
extends java.lang.Object


Nested Class Summary
static class Calendar.Action
           
 
Field Summary
static java.lang.String CLASS_CAL_DIV
           
static java.lang.String ID_CAL_BOTTOM
           
static java.lang.String ID_CAL_DIV
           
static java.lang.String PARM_DATE
           
static java.lang.String[] PARM_RANGE_FR
           
static java.lang.String[] PARM_RANGE_FR2
           
static java.lang.String[] PARM_RANGE_TO
           
static java.lang.String[] PARM_RANGE_TO2
           
static java.lang.String[] PARM_TIMEZONE
           
 
Constructor Summary
Calendar()
           
 
Method Summary
static java.lang.String formatArgDateTime(DateTime dt)
           
static java.lang.String formatArgYMD(DateTime dt)
           
static Calendar.Action getCalendarAction(java.lang.String action)
           
static DateTime getCurrentDayEnd(java.util.TimeZone tz)
           
static DateTime getCurrentDayStart(java.util.TimeZone tz)
           
static DateTime parseDate(java.lang.String dateStr, java.util.TimeZone tz, boolean isToDate)
           
static void writeJavaScript(java.io.PrintWriter out, RequestProperties reqState)
           
static void writeNewCalendar(java.io.PrintWriter out, java.lang.String calIDVar, java.lang.String calFormID, java.lang.String calTitle, DateTime calDate)
           
static void writeStyle(java.io.PrintWriter out, RequestProperties reqState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_CAL_DIV

public static final java.lang.String CLASS_CAL_DIV
See Also:
Constant Field Values

ID_CAL_DIV

public static final java.lang.String ID_CAL_DIV
See Also:
Constant Field Values

ID_CAL_BOTTOM

public static final java.lang.String ID_CAL_BOTTOM
See Also:
Constant Field Values

PARM_DATE

public static final java.lang.String PARM_DATE
See Also:
Constant Field Values

PARM_RANGE_FR

public static final java.lang.String[] PARM_RANGE_FR

PARM_RANGE_FR2

public static final java.lang.String[] PARM_RANGE_FR2

PARM_RANGE_TO

public static final java.lang.String[] PARM_RANGE_TO

PARM_RANGE_TO2

public static final java.lang.String[] PARM_RANGE_TO2

PARM_TIMEZONE

public static final java.lang.String[] PARM_TIMEZONE
Constructor Detail

Calendar

public Calendar()
Method Detail

getCalendarAction

public static Calendar.Action getCalendarAction(java.lang.String action)

getCurrentDayStart

public static DateTime getCurrentDayStart(java.util.TimeZone tz)

getCurrentDayEnd

public static DateTime getCurrentDayEnd(java.util.TimeZone tz)

formatArgYMD

public static java.lang.String formatArgYMD(DateTime dt)

formatArgDateTime

public static java.lang.String formatArgDateTime(DateTime dt)

parseDate

public static DateTime parseDate(java.lang.String dateStr,
                                 java.util.TimeZone tz,
                                 boolean isToDate)

writeStyle

public static void writeStyle(java.io.PrintWriter out,
                              RequestProperties reqState)
                       throws java.io.IOException
Throws:
java.io.IOException

writeNewCalendar

public static void writeNewCalendar(java.io.PrintWriter out,
                                    java.lang.String calIDVar,
                                    java.lang.String calFormID,
                                    java.lang.String calTitle,
                                    DateTime calDate)
                             throws java.io.IOException
Throws:
java.io.IOException

writeJavaScript

public static void writeJavaScript(java.io.PrintWriter out,
                                   RequestProperties reqState)
                            throws java.io.IOException
Throws:
java.io.IOException