diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/General/Culture.cs | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/OpenSim/Framework/General/Culture.cs b/OpenSim/Framework/General/Culture.cs index 54eae7c..f8cadfe 100644 --- a/OpenSim/Framework/General/Culture.cs +++ b/OpenSim/Framework/General/Culture.cs | |||
@@ -27,31 +27,23 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | ||
31 | using System.Globalization; | 30 | using System.Globalization; |
32 | using System.Text; | ||
33 | using System.Threading; | 31 | using System.Threading; |
34 | 32 | ||
35 | namespace OpenSim.Framework | 33 | namespace OpenSim.Framework |
36 | { | 34 | { |
37 | public class Culture | 35 | public class Culture |
38 | { | 36 | { |
39 | private static readonly CultureInfo m_cultureInfo = new System.Globalization.CultureInfo("en-US", true); | 37 | private static readonly CultureInfo m_cultureInfo = new CultureInfo("en-US", true); |
40 | 38 | ||
41 | public static NumberFormatInfo NumberFormatInfo | 39 | public static NumberFormatInfo NumberFormatInfo |
42 | { | 40 | { |
43 | get | 41 | get { return m_cultureInfo.NumberFormat; } |
44 | { | ||
45 | return m_cultureInfo.NumberFormat; | ||
46 | } | ||
47 | } | 42 | } |
48 | 43 | ||
49 | public static IFormatProvider FormatProvider | 44 | public static IFormatProvider FormatProvider |
50 | { | 45 | { |
51 | get | 46 | get { return m_cultureInfo; } |
52 | { | ||
53 | return m_cultureInfo; | ||
54 | } | ||
55 | } | 47 | } |
56 | 48 | ||
57 | public static void SetCurrentCulture() | 49 | public static void SetCurrentCulture() |
@@ -59,4 +51,4 @@ namespace OpenSim.Framework | |||
59 | Thread.CurrentThread.CurrentCulture = m_cultureInfo; | 51 | Thread.CurrentThread.CurrentCulture = m_cultureInfo; |
60 | } | 52 | } |
61 | } | 53 | } |
62 | } | 54 | } \ No newline at end of file |