org.alfresco.repo.calendar
Class CalendarHelpersTest

java.lang.Object
  extended by org.alfresco.repo.calendar.CalendarHelpersTest

public class CalendarHelpersTest
extends java.lang.Object

Test cases for the helpers relating to the CalendarService, but which don't need a full repo

Since:
4.0

Constructor Summary
CalendarHelpersTest()
           
 
Method Summary
 void allDayDetection()
           
 void dailyRecurrenceDates()
           
 void monthlyRecurrenceByDateInMonth()
          eg on the 2nd of the month
 void monthlyRecurrenceByDayOfWeek()
          on the 1st Tuesday of the month
 void simpleTimeZoneNoDST()
          Checks we correctly build the Timezone for somewhere that doesn't have DST (eg Brisbane)
 void simpleTimeZoneNorthern()
          Checks we correctly build the Timezone for somewhere in the northern hemisphere with DST (eg London)
 void simpleTimeZoneSouthern()
          Checks we correctly build the Timezone for somewhere in the southern hemisphere with DST (eg Sydney) Note - Sydney is GMT+11 in December, GMT+10 in June
 void weeklyRecurrenceDates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarHelpersTest

public CalendarHelpersTest()
Method Detail

allDayDetection

public void allDayDetection()

dailyRecurrenceDates

public void dailyRecurrenceDates()

weeklyRecurrenceDates

public void weeklyRecurrenceDates()

monthlyRecurrenceByDateInMonth

public void monthlyRecurrenceByDateInMonth()
eg on the 2nd of the month


monthlyRecurrenceByDayOfWeek

public void monthlyRecurrenceByDayOfWeek()
on the 1st Tuesday of the month


simpleTimeZoneNoDST

public void simpleTimeZoneNoDST()
Checks we correctly build the Timezone for somewhere that doesn't have DST (eg Brisbane)


simpleTimeZoneNorthern

public void simpleTimeZoneNorthern()
Checks we correctly build the Timezone for somewhere in the northern hemisphere with DST (eg London)


simpleTimeZoneSouthern

public void simpleTimeZoneSouthern()
Checks we correctly build the Timezone for somewhere in the southern hemisphere with DST (eg Sydney) Note - Sydney is GMT+11 in December, GMT+10 in June



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.