#include <string>
#include "ICalConverter.h"
#include "Common.h"
#include "CAlarm.h"
#include "CalendarErrors.h"
#include "VCalConverter.h"
#include <libical/icalderivedparameter.h>
#include "CUtility.h"
#include <sstream>
#include "CRecurrenceRule.h"
Data Structures | |
struct | zoneInfor |
Functions | |
bool | ical_value_is_valid (icalproperty *pProp) |
string | getLocation (int offsetstd, bool dstflag, time_t searchDate, time_t dstoffset) |
void | addEncodingQuotedPrintable (icalproperty *pProp) |
static bool | stringReplaceAll (string &toChange, const char *changeThis, const char *toThis) |
string | floatToString (float value) |
static bool | stringIsRRule (const string &toCheck) |
static void | stringAddEncodingQuotedPrintable (string &theString) |
Variables | |
struct zoneInfor * | info |
static const int | TZDATE_SIZE = 16 |
static const int | TDATE_SIZE = 15 |
static const int | ALARM_RECORD_ST = 20 |
static const int | MAX_SUPPORTED_YEAR = 2037 |
string | vCalTimeZone |
Copyright (C) 2008 Nokia Corporation. All rights reserved.
Contact: Biris Ilias <ilias.biris@nokia.com>
This software, including documentation, is protected by copyright controlled by Nokia Corporation. All rights are reserved. Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia Corporation. This material also contains confidential information which may not be disclosed to others without the prior written consent of Nokia.
string floatToString | ( | float | value | ) |
float value |
string getLocation | ( | int | offsetstd, | |
bool | dstflag, | |||
time_t | searchDate, | |||
time_t | dstoffset | |||
) |
select Location,RRuleDst,DtStartDst from timezone where (dstflag=d AND TzOffset=d);
References ASSERTION, CCalendarDB::getRecords(), CMulticalendar::getRecurrentTimes(), CCalendarDB::Instance(), CMulticalendar::MCInstance(), and CCalendarDB::sqliteErrorMapper().
Referenced by ICalConverter::findLocationFromOffset().
const int TZDATE_SIZE = 16 [static] |
static variables used in this file
string vCalTimeZone |
While importing we need to pick timezone information from different places for ics and vcs files For ICS format TZID will be specified in DTSTART For VCS format TZID will be specified in CALENDAR component
Referenced by ICalConverter::fillvCalTimeZone(), ICalConverter::findEffectiveDSToffset(), ICalConverter::findLocationFromOffset(), ICalConverter::icalVcalToLocal(), ICalConverter::importEventDateEnd(), and ICalConverter::importEventDateStartAndDateEnd().