1/** 2 * Copyright (c) 2023-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * NumberConstants 18 */ 19export class NumberConstants { 20 /** 21 * Constant Number 0 22 */ 23 static readonly CONSTANT_NUMBER_ZERO = 0; 24 25 /** 26 * Constant Number 1 27 */ 28 static readonly CONSTANT_NUMBER_ONE = 1; 29 30 31 /** 32 * Constant Number 2 33 */ 34 static readonly CONSTANT_NUMBER_TWO = 2; 35 36 /** 37 * Constant Number 3 38 */ 39 static readonly CONSTANT_NUMBER_THREE = 3; 40 41 /** 42 * Constant Number 9 43 */ 44 static readonly CONSTANT_NUMBER_NINE = 9; 45 46 /** 47 * Constant Number 8 48 */ 49 static readonly CONSTANT_NUMBER_EIGHT = 8; 50 51 /** 52 * Constant Number 10 53 */ 54 static readonly CONSTANT_NUMBER_TEN = 10; 55 56 /** 57 * Constant Number 12 58 */ 59 static readonly CONSTANT_NUMBER_TWELVE = 12; 60 61 /** 62 * Constant Number 24 63 */ 64 static readonly CONSTANT_NUMBER_HOUR_TWENTY_FOUR = 24; 65 66 /** 67 * Constant Number 60 68 */ 69 static readonly CONSTANT_NUMBER_SIXTY = 60; 70 71 /** 72 * Constant Number 1000 73 */ 74 static readonly CONSTANT_NUMBER_ONE_THOUSAND = 1000; 75 76 /** 77 * Constant Number 1000 78 */ 79 static readonly CONSTANT_DAY_TIME_MILLIS = NumberConstants.CONSTANT_NUMBER_HOUR_TWENTY_FOUR * 80 NumberConstants.CONSTANT_NUMBER_SIXTY * NumberConstants.CONSTANT_NUMBER_SIXTY * 81 NumberConstants.CONSTANT_NUMBER_ONE_THOUSAND; 82} 83