告警处理

Signed-off-by: hlzhangaj <zhanghanlin16@h-partners.com>
This commit is contained in:
hlzhangaj 2024-06-04 02:01:30 +00:00 committed by Gitee
parent 7abf20edbb
commit 5d167c52a7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 16 additions and 0 deletions

View File

@ -82,6 +82,8 @@
<filteritem type="filepath" name="**/.*.json5" desc="build config file"/>
<filteritem type="filepath" name="features/.*/.*.json5" desc="build config file"/>
<filteritem type="filepath" name="product/.*/.*.json5" desc="build config file"/>
<filteritem type="filename" name="hvigorfile.js" desc=".js not need check"/>
<filteritem type="filename" name="*.png" desc=".png files"/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filename" name="README|README_zh|.*.log|.*.json5|.*.json" desc=""/>

View File

@ -1,3 +1,17 @@
/*
* Copyright (c) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export function ConvertLunarCalendar(gregorianCalendarYear, gregorianCalendarMonth, gregorianCalendarDay) {
let lunarIndex1 = 2,
lunarIndex2 = 9,