harvesterplugins/tsrc/harvesterplugintester/src/ccalanderobserver.cpp
changeset 15 df6898e696c6
parent 7 51d10d255e92
equal deleted inserted replaced
13:0a2ec6860a93 15:df6898e696c6
    70     iUid = guidDes.AllocL();        
    70     iUid = guidDes.AllocL();        
    71     CCalEntry* entry = CCalEntry::NewL(CCalEntry::EAppt, iUid, CCalEntry::EMethodNone, 0);    
    71     CCalEntry* entry = CCalEntry::NewL(CCalEntry::EAppt, iUid, CCalEntry::EMethodNone, 0);    
    72     CleanupStack::PushL(entry);
    72     CleanupStack::PushL(entry);
    73             
    73             
    74     // For an appointment, the time as well as the date is relevant
    74     // For an appointment, the time as well as the date is relevant
    75     TDateTime startTime(2010, EJanuary, 04, 10, 0, 0, 0);
    75     TDateTime startTime(2010, EJuly, 07, 10, 0, 0, 0);
    76     TDateTime endTime(2010, EJanuary, 05, 16, 0, 0, 0);
    76     TDateTime endTime(2010, EJuly, 07, 16, 0, 0, 0);
    77     
    77     
    78     TCalTime calstart;
    78     TCalTime calstart;
    79     TCalTime calstop;
    79     TCalTime calstop;
    80     calstart.SetTimeLocalL(startTime);
    80     calstart.SetTimeLocalL(startTime);
    81     calstop.SetTimeLocalL(endTime);    
    81     calstop.SetTimeLocalL(endTime);