summaryrefslogtreecommitdiff
path: root/src/mscorlib/corefx/System/Globalization/STUBS.cs
blob: 8c85e836d6cbfed5aa5101c0d87b3348fd667b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
namespace System.Globalization
{
    public abstract partial class Calendar : System.ICloneable
    {
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public virtual int GetLeapMonth(int year) { throw new NotImplementedException(); }
    }

    [System.Runtime.InteropServices.ComVisible(true)]
    public enum CalendarAlgorithmType
    {
        Unknown = 0,            // This is the default value to return in the Calendar base class.
        SolarCalendar = 1,      // Solar-base calendar, such as GregorianCalendar, jaoaneseCalendar, JulianCalendar, etc.
                                // Solar calendars are based on the solar year and seasons.
        LunarCalendar = 2,      // Lunar-based calendar, such as Hijri and UmAlQuraCalendar.
                                // Lunar calendars are based on the path of the moon.  The seasons are not accurately represented.
        LunisolarCalendar = 3   // Lunisolar-based calendar which use leap month rule, such as HebrewCalendar and Asian Lunisolar calendars.
                                // Lunisolar calendars are based on the cycle of the moon, but consider the seasons as a secondary consideration,
                                // so they align with the seasons as well as lunar events.
    }

    public static partial class CharUnicodeInfo
    {
        public static int GetDecimalDigitValue(char ch) { throw new NotImplementedException(); }
        public static int GetDecimalDigitValue(string s, int index) { throw new NotImplementedException(); }
        public static int GetDigitValue(char ch) { throw new NotImplementedException(); }
        public static int GetDigitValue(string s, int index) { throw new NotImplementedException(); }
    }

    public partial class CompareInfo : System.Runtime.Serialization.IDeserializationCallback
    {
        public int LCID { get { throw new NotImplementedException(); } }
        public static System.Globalization.CompareInfo GetCompareInfo(int culture) { throw new NotImplementedException(); }
        public static System.Globalization.CompareInfo GetCompareInfo(int culture, System.Reflection.Assembly assembly) { throw new NotImplementedException(); }
        public static System.Globalization.CompareInfo GetCompareInfo(string name, System.Reflection.Assembly assembly) { throw new NotImplementedException(); }
        public virtual System.Globalization.SortKey GetSortKey(string source) { throw new NotImplementedException(); }
        public virtual System.Globalization.SortKey GetSortKey(string source, System.Globalization.CompareOptions options) { throw new NotImplementedException(); }
        public virtual int IndexOf(string source, char value, int startIndex) { throw new NotImplementedException(); }
        public virtual int IndexOf(string source, string value, int startIndex) { throw new NotImplementedException(); }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public static bool IsSortable(char ch) { throw new NotImplementedException(); }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        [System.Security.SecuritySafeCriticalAttribute]
        public static bool IsSortable(string text) { throw new NotImplementedException(); }
        public virtual int LastIndexOf(string source, char value, int startIndex) { throw new NotImplementedException(); }
        public virtual int LastIndexOf(string source, string value, int startIndex) { throw new NotImplementedException(); }
    }

    public partial class CultureInfo : System.ICloneable, System.IFormatProvider
    {
        public CultureInfo(int culture) { throw new NotImplementedException(); }
        public CultureInfo(int culture, bool useUserOverride) { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo InstalledUICulture { get { throw new NotImplementedException(); } }
        public virtual int LCID { get { throw new NotImplementedException(); } }
        public virtual string ThreeLetterISOLanguageName { get { throw new NotImplementedException(); } }
        public virtual string ThreeLetterWindowsLanguageName { get { throw new NotImplementedException(); } }
        public void ClearCachedData() { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo GetCultureInfo(string name, string altName) { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo GetCultureInfoByIetfLanguageTag(string name) { throw new NotImplementedException(); }
        public static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { throw new NotImplementedException(); }
    }

    public partial class CultureNotFoundException : System.ArgumentException, System.Runtime.Serialization.ISerializable
    {
        public CultureNotFoundException(string message, int invalidCultureId, System.Exception innerException) { throw new NotImplementedException(); }
        public CultureNotFoundException(string paramName, int invalidCultureId, string message) { throw new NotImplementedException(); }
        public virtual System.Nullable<int> InvalidCultureId { get { throw new NotImplementedException(); } }
    }

    public enum CultureTypes
    {
        AllCultures = 7,
        [System.ObsoleteAttribute("This value has been deprecated.  Please use other values in CultureTypes.")]
        FrameworkCultures = 64,
        InstalledWin32Cultures = 4,
        NeutralCultures = 1,
        ReplacementCultures = 16,
        SpecificCultures = 2,
        UserCustomCulture = 8,
        [System.ObsoleteAttribute("This value has been deprecated.  Please use other values in CultureTypes.")]
        WindowsOnlyCultures = 32,
    }

    public sealed partial class DateTimeFormatInfo : System.ICloneable, System.IFormatProvider
    {
        // Can't do partial properties so add the setter for DateSeparator and TimeSeparator
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public string NativeCalendarName { get { throw new NotImplementedException(); } }
        public string[] GetAllDateTimePatterns() { throw new NotImplementedException(); }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public string GetShortestDayName(System.DayOfWeek dayOfWeek) { throw new NotImplementedException(); }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public void SetAllDateTimePatterns(string[] patterns, char format) { throw new NotImplementedException(); }
    }

    public enum DigitShapes
    {
        Context = 0,
        NativeNational = 2,
        None = 1,
    }

    public sealed partial class IdnMapping
    {
        public IdnMapping() { }
        public bool AllowUnassigned { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
        public bool UseStd3AsciiRules { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
        public override bool Equals(object obj) { throw new NotImplementedException(); }
        public string GetAscii(string unicode) { throw new NotImplementedException(); }
        public string GetAscii(string unicode, int index) { throw new NotImplementedException(); }
        public string GetAscii(string unicode, int index, int count) { throw new NotImplementedException(); }
        public override int GetHashCode() { throw new NotImplementedException(); }
        public string GetUnicode(string ascii) { throw new NotImplementedException(); }
        public string GetUnicode(string ascii, int index) { throw new NotImplementedException(); }
        public string GetUnicode(string ascii, int index, int count) { throw new NotImplementedException(); }
    }

    public sealed partial class NumberFormatInfo : System.ICloneable, System.IFormatProvider
    {
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public System.Globalization.DigitShapes DigitSubstitution { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public string[] NativeDigits { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } }
    }

    public partial class RegionInfo
    {
        public RegionInfo(int culture) { throw new NotImplementedException(); }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public virtual string CurrencyEnglishName { get { throw new NotImplementedException(); } }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public virtual string CurrencyNativeName { get { throw new NotImplementedException(); } }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public virtual int GeoId { get { throw new NotImplementedException(); } }
        public virtual string ThreeLetterISORegionName { get { throw new NotImplementedException(); } }
        public virtual string ThreeLetterWindowsRegionName { get { throw new NotImplementedException(); } }
    }

    public partial class SortKey
    {
        internal SortKey() { throw new NotImplementedException(); }
        public virtual byte[] KeyData { get { throw new NotImplementedException(); } }
        public virtual string OriginalString { get { throw new NotImplementedException(); } }
        public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) { throw new NotImplementedException(); }
        public override bool Equals(object value) { throw new NotImplementedException(); }
        public override int GetHashCode() { throw new NotImplementedException(); }
        public override string ToString() { throw new NotImplementedException(); }
    }

    public sealed partial class SortVersion : System.IEquatable<System.Globalization.SortVersion>
    {
        public SortVersion(int fullVersion, System.Guid sortId) { throw new NotImplementedException(); }
        public int FullVersion { get { throw new NotImplementedException(); } }
        public System.Guid SortId { get { throw new NotImplementedException(); } }
        public bool Equals(System.Globalization.SortVersion other) { throw new NotImplementedException(); }
        public override bool Equals(object obj) { throw new NotImplementedException(); }
        public override int GetHashCode() { throw new NotImplementedException(); }
        public static bool operator ==(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
        public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw new NotImplementedException(); }
    }

    public partial class StringInfo 
    {
        public string SubstringByTextElements(int startingTextElement) { throw new NotImplementedException(); }
        public string SubstringByTextElements(int startingTextElement, int lengthInTextElements) { throw new NotImplementedException(); }
    }

    public partial class TextInfo : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback 
    {
        public virtual int ANSICodePage { get { throw new NotImplementedException(); } }
        public virtual int EBCDICCodePage { get { throw new NotImplementedException(); } }
        [System.Runtime.InteropServices.ComVisibleAttribute(false)]
        public int LCID { get { throw new NotImplementedException(); } }
        public virtual int MacCodePage { get { throw new NotImplementedException(); } }
        public virtual int OEMCodePage { get { throw new NotImplementedException(); } }
        public string ToTitleCase(string str) { throw new NotImplementedException(); }
    }
}