@rareelements/lydia
Version:
RFC5545 implementation
18 lines • 624 B
TypeScript
import { PropertyType } from './PropertyType';
import { IRichProperty } from './SimpleTypes';
export interface IDateTime {
value: Date;
timezone?: string;
}
export declare type DTType = PropertyType.DTSTART | PropertyType.DTEND;
export interface IDTProperty extends IDateTime, IRichProperty {
type: DTType;
value: Date;
timezone?: string;
}
export interface ITimestampPropery extends IDateTime, IRichProperty {
type: DTStampType;
value: Date;
}
export declare type DTStampType = PropertyType.DTSTAMP | PropertyType.CREATED | PropertyType.LAST_MODIFIED;
//# sourceMappingURL=DateTimeTypes.d.ts.map