Lines Matching refs:string
19 #include <string>
36 int GetIndexValue(const DataShareResultSetPtr &resultSet, int index, std::string& out);
38 void SetRRuleValue(const std::map<std::string, std::string> &ruleMap, RecurrenceRule &out);
39 void SetByDayOfRRule(const std::vector<std::string> &weekDayList, RecurrenceRule &out);
40 std::string GetDaysOfWeekRule(int minValue, int maxValue, const std::vector<int64_t> &daysOfWeekList);
41 std::string GetDaysOfWeekMonthRule(
43 std::string GetRRuleSerial(int minValue, int maxValue, const std::vector<int64_t> &serialList);
44 std::string GetWeeklyRule(const Event &event, const std::tm &time);
45 std::string GetMonthlyRule(const Event &event, const std::tm &time);
46 std::string GetYearlyRule(const Event &event, const std::tm &time);
47 std::string GetEventRRule(const Event &event);
51 DataShareResultSetPtr &resultSet, const std::set<std::string>& columns);
54 void SetField(const std::vector<string>& eventKey,
55 std::vector<string>& queryField, std::set<string>& resultSetField);
57 bool ColorParse(const std::string& colorStr, variant<string, int64_t>& colorValue);
59 std::string GetUTCTime(const int64_t &timeValue);
60 std::string GetUTCTimes(const std::vector<int64_t> &timeValues);
61 std::string GetRule(const Event &event);
62 std::time_t TimeToUTC(const std::string &strTime);
68 auto fieldNameStr = string(fieldName);
81 auto fieldNameStr = string(fieldName);
82 auto ret = resultSet->GetColumnIndex(string(fieldName), index);