Searched refs:month (Results 1 – 25 of 28) sorted by relevance
12
30 int month = 1 + ltm->tm_mon; in FormatDate() local37 if (month < DOUBLE_DIGIT) { in FormatDate()40 date.append(std::to_string(month)); in FormatDate()
102 uint8_t ReminderRequestCalendar::GetDaysOfMonth(const uint16_t &year, const uint8_t &month) in GetDaysOfMonth() argument105 if (month == FEBRUARY) { in GetDaysOfMonth()109 days = DAY_ARRAY[month - 1]; in GetDaysOfMonth()218 uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const in GetTimeInstantMilli() argument222 tar.tm_mon = GetCTime(TimeTransferType::MONTH, month); in GetTimeInstantMilli()267 bool ReminderRequestCalendar::IsRepeatMonth(uint8_t month) const in IsRepeatMonth()269 return (repeatMonth_ & (1 << (month - 1))) > 0; in IsRepeatMonth()289 void ReminderRequestCalendar::SetMonth(const uint8_t &month, const bool &isSet) in SetMonth() argument291 if (month < JANUARY || month > DECEMBER) { in SetMonth()295 repeatMonth_ |= 1 << (month - 1); in SetMonth()[all …]
65 concatDate(year, month, date) { argument66 return year + this.year + month + this.month + date + this.day;
148 static uint8_t GetDaysOfMonth(const uint16_t &year, const uint8_t &month);171 … uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const;179 bool IsRepeatMonth(uint8_t month) const;182 void SetMonth(const uint8_t &month, const bool &isSet);
316 month = configs["month"]; in ParseConfigsPartOne()368 …if (year.empty() && month.empty() && day.empty() && hour.empty() && minute.empty() && second.empty… in ComputeSkeleton()372 AddOptions(month, monthChar); in ComputeSkeleton()426 if (!month.empty()) { in ComputePattern()429 if (month == "numeric" && length != NUMERIC_LENGTH) { in ComputePattern()431 } else if (month == "2-digit" && length != TWO_DIGIT_LENGTH) { in ComputePattern()433 } else if (month == "long" && length != LONG_LENGTH) { in ComputePattern()435 } else if (month == "short" && length != SHORT_LENGTH) { in ComputePattern()437 } else if (month == "narrow" && length != NARROW_LENGTH) { in ComputePattern()606 if (!month.empty()) { in GetAdditionalResolvedOptions()[all …]
194 void I18nCalendar::Set(int32_t year, int32_t month, int32_t date) in Set() argument197 calendar_->set(year, month, date); in Set()
34 Change the date and time formats \(such as the sequence of year, month, and day, month and week nam…
36 int32_t month; member
50 uint32_t month; member
51 void Set(int32_t year, int32_t month, int32_t date);
72 std::string month; variable
71 unsigned char month; /* range 1-12 */ member
216 month: 10, property259 month: 10, property408 month: 10, property886 month: 10, property923 month: 10, property1373 month: 10, property1460 month: 10, property1547 month: 10, property1609 month: 10, property
56 uint8 month; member
120 StrToInt(strsRet[1], networkTime.month); in NitzParse()177 if (networkTime.year < static_cast<int32_t>(CST_YEAR) || networkTime.month < 1) { in ProcessTime()191 t.tm_mon = networkTime.month - 1; in ProcessTime()
76 uint32_t month; member
263 int32_t month = time.tm_mon; in Process() local265 appendTo.append(data->GetMonthName(month, DateTimeDataType::FORMAT_WIDE)); in Process()267 appendTo.append(data->GetMonthName(month, DateTimeDataType::FORMAT_ABBR)); in Process()269 ZeroPadding(appendTo, count, MAX_COUNT, month + 1); in Process()
206 pDataTime->month = CONVERT(bufTime->data + 2); in GetX509Time()228 "%d-%d-%d", (int)dataTime.year, (int)dataTime.month, (int)dataTime.day) < 0) { in GetX509TimeFormat()
158 (*ppParam)[offset++] = ((pTimeStamp->time.absolute.month % NUMBER_TEN) << 0x04) + in EncodeTime()159 (pTimeStamp->time.absolute.month / NUMBER_TEN); in EncodeTime()316 …pTimeStamp->time.absolute.month = (pTpdu[offset] & 0x0F) * NUMBER_TEN + ((pTpdu[offset] & 0xF0) >>… in DecodeTime()
110 static bool CheckCalendarParams(const int32_t &year, const int32_t &month, const int32_t &day,
402 uint32 month, day, hour, min, sec; in LogCommonFmt() local408 month = nowTime.tm_mon + 1; in LogCommonFmt()418 …month, day, hour, min, sec, commonContentPtr->milli, commonContentPtr->task, g_logLevelInfo[level], in LogCommonFmt()
461 bool ReminderCommon::CheckCalendarParams(const int32_t &year, const int32_t &month, const int32_t &… in CheckCalendarParams() argument469 if ((month < 1) || (month > ReminderRequestCalendar::MAX_MONTHS_OF_YEAR)) { in CheckCalendarParams()474 …nt8_t maxDaysOfMonth = ReminderRequestCalendar::GetDaysOfMonth(static_cast<uint16_t>(year), month); in CheckCalendarParams()
327 timeStamp[i++] = (time->month / HKS_DECIMAL_TEN) + '0'; in GetTimeStampTee()328 timeStamp[i++] = (time->month % HKS_DECIMAL_TEN) + '0'; in GetTimeStampTee()367 for (time->month = 0; iDays >= ip[time->month]; ++(time->month)) { in GenerateSysDateTime()368 iDays -= ip[time->month]; in GenerateSysDateTime()370 ++time->month; in GenerateSysDateTime()411 … notBefore.year, notBefore.month, notBefore.day, notBefore.hour, notBefore.min, notBefore.seconds); in SetAttestCertValid()
260 tmInfo.tm_mon = (timeAbs.month - 0x01); in ConvertTime()
12 …des i18n capabilities such as formatting the date and time, obtaining the month and week names, an…40 1. Change the date and time formats \(such as the sequence of year, month, and day, month and week …72 3. Obtain the month and week names in the format for the specified locale. The sample code is as fo…80 …std::string month = formatter.GetMonthName(0, DateTimeDataType::FORMAT_WIDE); //: Obtain the month…