summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/utils/utils.ts
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-01 22:05:42 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-01 22:05:48 +0800
commit19abe2af19ba49073949f8254aec897afe7bb303 (patch)
treecd5c6596873748655eb492ff43fbe4942f68406e /usecaseui-portal/src/app/shared/utils/utils.ts
parente1f0160baa1f38cdb35705a39a0d42dc6d67f63d (diff)
docs: add copyright info and changelog
Change-Id: Ie2c7aa97aaf99c7a274f5ca45366f549223ba028 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/shared/utils/utils.ts')
-rw-r--r--usecaseui-portal/src/app/shared/utils/utils.ts18
1 files changed, 17 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/shared/utils/utils.ts b/usecaseui-portal/src/app/shared/utils/utils.ts
index abdb9836..1aa9673e 100644
--- a/usecaseui-portal/src/app/shared/utils/utils.ts
+++ b/usecaseui-portal/src/app/shared/utils/utils.ts
@@ -1,4 +1,20 @@
-export class Util{
+/*
+ Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+ 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 class Util {
// Time formatting milliseconds to normal
dateformater(vmstime) {
if (!vmstime) {