Searched refs:dateThreeDaysAgo (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_flow_controller.cpp | 242 std::string dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(timeThreeDaysAgo, "%Y%m%d"); in CleanOldAppTrace() local 244 auto result = std::from_chars(dateThreeDaysAgo.c_str(), in CleanOldAppTrace() 245 dateThreeDaysAgo.c_str() + dateThreeDaysAgo.size(), dateNum); in CleanOldAppTrace() 247 HIVIEW_LOGW("convert error, dateStr: %{public}s", dateThreeDaysAgo.c_str()); in CleanOldAppTrace()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/test/ |
H A D | trace_storage_test.cpp | 83 …auto dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds() - secondsOfThreeDay… variable 85 appEventTaskOld.taskDate_ = std::stoll(dateThreeDaysAgo, nullptr, 0); 98 …traceStorage->QueryAppEventTask(appEventTaskOld.uid_, std::stoll(dateThreeDaysAgo, nullptr, 0), ap…
|