/usr/share/idl/thunderbird/calIPeriod.idl is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
interface calIDateTime;
interface calIDuration;
[scriptable,uuid(ace2a74c-bd08-476f-be8b-6565abc50339)]
interface calIPeriod : nsISupports
{
attribute jsval icalPeriod;
/**
* isMutable is true if this instance is modifiable.
* If isMutable is false, any attempts to modify
* the object will throw NS_ERROR_OBJECT_IS_IMMUTABLE.
*/
readonly attribute boolean isMutable;
/**
* Make this calIPeriod instance immutable.
*/
void makeImmutable();
/**
* Clone this calIPeriod instance into a new
* mutable object.
*/
calIPeriod clone();
/**
* The start datetime of this period
*/
attribute calIDateTime start;
/**
* The end datetime of this period
*/
attribute calIDateTime end;
/**
* The duration, equal to end-start
*/
readonly attribute calIDuration duration;
/**
* Return a string representation of this instance.
*/
AUTF8String toString();
/**
* This object as an iCalendar DURATION string
*/
attribute ACString icalString;
};
/** Libical specific interfaces */
[ptr] native icalperiodtypeptr(struct icalperiodtype);
[scriptable,uuid(04ee525f-96db-4731-8d61-688e754df24f)]
interface calIPeriodLibical : calIPeriod
{
[noscript,notxpcom] void toIcalPeriod(in icalperiodtypeptr idt);
};
|