TaskDateModel

{
    TypeId: number;         //TypeId enum is defined below
    Interval: number;        //Time Interval for reptitive tasks
    DisplayDate: Date;
    DueDate: Date;
    
    constructor() {
        this.TypeId = 1;
        this.Interval = 1;
        this.DisplayDate = null;
        this.DueDate = null;
    }
}

TypeId Enum:

TaskDateTypeEnum {
    NoDates = 1,
    NeverRepeat,
    Days,
    Week,
    Month,
    Year
}

Last updated