當前位置: 首頁>>代碼示例>>Java>>正文


Java CalendarRecurrenceHelper類代碼示例

本文整理匯總了Java中org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper的典型用法代碼示例。如果您正苦於以下問題:Java CalendarRecurrenceHelper類的具體用法?Java CalendarRecurrenceHelper怎麽用?Java CalendarRecurrenceHelper使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


CalendarRecurrenceHelper類屬於org.alfresco.service.cmr.calendar包,在下文中一共展示了CalendarRecurrenceHelper類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: buildParams

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
private static StringBuffer buildParams(Map<String, String> params,  StringBuffer text, Map<String, String> days)
{
    int day = params.get("BYDAY").split(",").length;
    if(day == 7){
        text.append(CalendarRecurrenceHelper.DAY);
    }
    if(day == 5){
	   text.append(CalendarRecurrenceHelper.WEEKDAYS);
    }
    if(day == 2){
	   text.append(CalendarRecurrenceHelper.WEEKENDS);
    }
    if(day != 7 && day != 5 && day != 2){
	   text.append(days.get(params.get("BYDAY")));
    }
    return text;
}
 
開發者ID:Alfresco,項目名稱:alfresco-remote-api,代碼行數:18,代碼來源:CalendarEntryGet.java

示例2: buildDailyRecurrences

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
protected static void buildDailyRecurrences(Calendar currentDate, long duration, List<Date> dates, 
        Map<String,String> params, Date onOrAfter, Date until, boolean firstOnly, int interval)
{
   CalendarRecurrenceHelper.buildDailyRecurrences(
           currentDate, duration, dates, params, onOrAfter, until, firstOnly, interval);
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:7,代碼來源:CalendarHelpersTest.java

示例3: buildWeeklyRecurrences

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
protected static void buildWeeklyRecurrences(Calendar currentDate, long duration, List<Date> dates, 
        Map<String,String> params, Date onOrAfter, Date until, boolean firstOnly, int interval)
{
   CalendarRecurrenceHelper.buildWeeklyRecurrences(
           currentDate,  duration, dates, params, onOrAfter, until, firstOnly, interval);
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:7,代碼來源:CalendarHelpersTest.java

示例4: buildMonthlyRecurrences

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
protected static void buildMonthlyRecurrences(Calendar currentDate, long duration, List<Date> dates, 
        Map<String,String> params, Date onOrAfter, Date until, boolean firstOnly, int interval)
{
   CalendarRecurrenceHelper.buildMonthlyRecurrences(
           currentDate,  duration, dates, params, onOrAfter, until, firstOnly, interval);
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:7,代碼來源:CalendarHelpersTest.java

示例5: buildYearlyRecurrences

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
protected static void buildYearlyRecurrences(Calendar currentDate, long duration, List<Date> dates, 
        Map<String,String> params, Date onOrAfter, Date until, boolean firstOnly, int interval)
{
   CalendarRecurrenceHelper.buildYearlyRecurrences(
           currentDate,  duration, dates, params, onOrAfter, until, firstOnly, interval);
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:7,代碼來源:CalendarHelpersTest.java

示例6: fixOutlookRecurrenceQuirks

import org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper; //導入依賴的package包/類
protected static Map<String,String> fixOutlookRecurrenceQuirks(Map<String,String> params)
{
    return CalendarRecurrenceHelper.fixOutlookRecurrenceQuirks(params);
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:5,代碼來源:CalendarHelpersTest.java


注:本文中的org.alfresco.service.cmr.calendar.CalendarRecurrenceHelper類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。