From 61d6a817e39d3bae0f47dbc09838d51db22a5d30 Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Tue, 13 Jun 2017 18:47:36 +0900 Subject: Imported Upstream version 2.0.0.11992 --- .../shared/System/Globalization/HijriCalendar.Unix.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/mscorlib/shared/System/Globalization/HijriCalendar.Unix.cs (limited to 'src/mscorlib/shared/System/Globalization/HijriCalendar.Unix.cs') diff --git a/src/mscorlib/shared/System/Globalization/HijriCalendar.Unix.cs b/src/mscorlib/shared/System/Globalization/HijriCalendar.Unix.cs new file mode 100644 index 0000000000..a6e8f73d3e --- /dev/null +++ b/src/mscorlib/shared/System/Globalization/HijriCalendar.Unix.cs @@ -0,0 +1,15 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Globalization +{ + public partial class HijriCalendar : Calendar + { + private static int GetHijriDateAdjustment() + { + // this setting is not supported on Unix, so always return 0 + return 0; + } + } +} -- cgit v1.2.3