/base/web/webview/ohos_glue/ohos_nweb/bridge/ |
D | ark_web_view_struct_utils.cpp | 25 .month = class_value.month, in ArkWebDateTimeClassToStruct() 36 .month = struct_value.month, in ArkWebDateTimeStructToClass()
|
/base/global/i18n/frameworks/intl/src/ |
D | holiday_manager.cpp | 51 … struct tm tmObj = {.tm_mday = items[i].day, .tm_mon = items[i].month, .tm_year = items[i].year}; in HolidayManager() 60 items[i].month += MONTH_GREATER_ONE; in HolidayManager() 89 int32_t month = timObj->tm_mon + MONTH_GREATER_ONE; in IsHoliday() local 90 return IsHoliday(year, month, timObj->tm_mday); in IsHoliday() 93 bool HolidayManager::IsHoliday(int32_t year, int32_t month, int32_t day) in IsHoliday() argument 95 std::string startDate = Format(year, month, day); in IsHoliday() 103 std::string HolidayManager::Format(int32_t year, int32_t month, int32_t day) in Format() argument 108 formated += month < 10 ? ("0" + std::to_string(month)) : std::to_string(month); in Format() 207 holidayItem->month = timeObj.tm_mon; in ParseFileLine()
|
D | date_time_format.cpp | 356 month = configs["month"]; in ParseConfigsPartOne() 408 …if (year.empty() && month.empty() && day.empty() && hour.empty() && minute.empty() && second.empty… in ComputeSkeleton() 413 AddOptions(month, monthChar); in ComputeSkeleton() 467 if (!month.empty()) { in ComputePattern() 470 if (month == "numeric" && length != NUMERIC_LENGTH) { in ComputePattern() 472 } else if (month == "2-digit" && length != TWO_DIGIT_LENGTH) { in ComputePattern() 474 } else if ((month == "long" && length != LONG_LENGTH) || (month == "auto" && in ComputePattern() 477 } else if ((month == "short" && length != SHORT_LENGTH) || (month == "auto" && in ComputePattern() 480 } else if (month == "narrow" && length != NARROW_LENGTH) { in ComputePattern() 686 if (!month.empty()) { in GetAdditionalResolvedOptions() [all …]
|
D | i18n_calendar.cpp | 195 void I18nCalendar::Set(int32_t year, int32_t month, int32_t date) in Set() argument 198 calendar_->set(year, month, date); in Set()
|
/base/global/i18n/frameworks/intl/include/ |
D | holiday_manager.h | 42 int32_t month = 0; member 56 bool IsHoliday(int32_t year, int32_t month, int32_t day); 67 std::string Format(int32_t year, int32_t month, int32_t day);
|
D | i18n_calendar.h | 52 void Set(int32_t year, int32_t month, int32_t date);
|
/base/telephony/telephony_data/common/include/ |
D | time_util.h | 30 int month = 1 + ltm->tm_mon; in FormatDate() local 37 if (month < DOUBLE_DIGIT) { in FormatDate() 40 date.append(std::to_string(month)); in FormatDate()
|
/base/usb/usb_manager/test/native/js_unittest/ |
D | DateAndTimeUtil.js | 65 concatDate(year, month, date) { argument 66 return year + this.year + month + this.month + date + this.day;
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | reminder_request_calendar_test.cpp | 522 uint8_t month = 2; variable 523 uint8_t result = calendar->GetDaysOfMonth(year, month); 578 uint8_t month = -1; variable 580 calendar->SetMonth(month, isSet); 581 bool result = calendar->IsRepeatMonth(month); 597 uint8_t month = 13; variable 599 calendar->SetMonth(month, isSet); 600 bool result = calendar->IsRepeatMonth(month); 672 uint8_t month = 1; variable 673 calendar->SetMonth(month, isSet); [all …]
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | reminder_request_calendar.h | 168 static uint8_t GetDaysOfMonth(const uint16_t &year, const uint8_t &month); 193 … uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const; 201 bool IsRepeatMonth(uint8_t month) const; 204 void SetMonth(const uint8_t &month, const bool &isSet);
|
/base/web/webview/ohos_glue/ohos_nweb/include/ |
D | ark_web_nweb_structs.h | 23 int32_t month; member
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_request_calendar.cpp | 169 uint8_t ReminderRequestCalendar::GetDaysOfMonth(const uint16_t &year, const uint8_t &month) in GetDaysOfMonth() argument 172 if (month == FEBRUARY) { in GetDaysOfMonth() 176 days = DAY_ARRAY[month - 1]; in GetDaysOfMonth() 346 uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) const in GetTimeInstantMilli() argument 350 tar.tm_mon = GetCTime(TimeTransferType::MONTH, month); in GetTimeInstantMilli() 410 bool ReminderRequestCalendar::IsRepeatMonth(uint8_t month) const in IsRepeatMonth() 412 if (month > MAX_MONTHS_OF_YEAR) { in IsRepeatMonth() 415 return (repeatMonth_ & (1 << (month - 1))) > 0; in IsRepeatMonth() 438 void ReminderRequestCalendar::SetMonth(const uint8_t &month, const bool &isSet) in SetMonth() argument 440 if (month < JANUARY || month > DECEMBER) { in SetMonth() [all …]
|
/base/global/i18n/ |
D | README.md | 34 Change the date and time formats \(such as the sequence of year, month, and day, month and week nam…
|
/base/web/webview/ohos_interface/include/ohos_nweb/ |
D | nweb_date_time_chooser.h | 27 int32_t month = 0; member
|
/base/telephony/core_service/services/network_search/include/ |
D | nitz_update.h | 38 int32_t month = 0; member
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/ |
D | cm_x509.h | 50 uint32_t month; member
|
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/include/ |
D | dcm_attest.h | 76 uint32_t month; member
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ReminderHelperTest.js | 216 month: 10, property 259 month: 10, property 408 month: 10, property 886 month: 10, property 923 month: 10, property 1373 month: 10, property 1460 month: 10, property 1547 month: 10, property 1609 month: 10, property
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_pdu_code_type.h | 71 uint8_t month; /* range 1-12 */ member
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_util.h | 56 uint8 month; member
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_encode.cpp | 219 resultValue.push_back(((timeStamp->time.absolute.month % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu() 220 (timeStamp->time.absolute.month / DIGIT_TEN)); in EncodeTimePdu()
|
/base/telephony/core_service/services/network_search/src/ |
D | nitz_update.cpp | 125 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()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | date_time_format_impl.cpp | 263 int32_t month = time.tm_mon; in Process() local 265 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()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_x509.c | 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()
|
/base/hiviewdfx/hilog_lite/frameworks/mini/ |
D | hiview_output_log.c | 402 uint32 month, day, hour, min, sec; in LogCommonFmt() local 408 month = nowTime.tm_mon + 1; in LogCommonFmt() 418 …month, day, hour, min, sec, commonContentPtr->milli, commonContentPtr->task, g_logLevelInfo[level], in LogCommonFmt()
|