/** @file\r
*\r
* Copyright (c) 2016, Hisilicon Limited. All rights reserved.\r
-* Copyright (c) 2016, Linaro Limited. All rights reserved.\r
+* Copyright (c) 2016-2019, Linaro Limited. All rights reserved.\r
*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+* SPDX-License-Identifier: BSD-2-Clause-Patent\r
*\r
**/\r
\r
/**\r
Converts EFI_TIME to Epoch seconds (elapsed since 1970 JANUARY 01, 00:00:00 UTC)\r
**/\r
-UINTN\r
+UINT32\r
EFIAPI\r
EfiTimeToEpoch (\r
IN EFI_TIME *Time\r
);\r
\r
+/**\r
+ returns Day of the week [0-6] 0=Sunday\r
+ **/\r
+UINTN\r
+EfiTimeToWday (\r
+ IN EFI_TIME *Time\r
+ );\r
+\r
#endif\r