All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unitedinternet.cosmo.icalendar.ICalendarConstants Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2005-2007 Open Source Applications Foundation
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.unitedinternet.cosmo.icalendar;


/**
 * Provides constants for values specified by iCalendar that are not
 * otherwise defined by iCal4J.
 */
public interface ICalendarConstants {

    /**
     * The highest version number of the iCalendar specification that
     * is implemented by Cosmo.
     */
    public static final String ICALENDAR_VERSION = "2.0";

    /**
     * The MIME media type identifying a content item containing
     * data formatted with iCalendar.
     */
    public static final String ICALENDAR_MEDIA_TYPE = "text/calendar";

    /**
     * The file extension commonly used to designate a file containing
     * data formatted with iCalendar.
     */
    public static final String ICALENDAR_FILE_EXTENSION = "ics";

    /**
     * The icalender parameter used on a DTSTART to indicate that the event
     * which contains the DTSTART is an "anytime" event. This is a OSAF custom 
     * parameter.
     */
    public static final String PARAM_X_OSAF_ANYTIME = "X-OSAF-ANYTIME";

    /**
     * iCalendar value for "TRUE"
     */
    public static final String VALUE_TRUE = "TRUE";
    
    public static final String VALUE_FALSE = "FALSE";
    
    /**
     * VAVAILABILITY component (not yet fully supported in ical4j)
     */
    public static final String COMPONENT_VAVAILABLITY = "VAVAILABILITY";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy