Ticket #27: mango.patch
| File mango.patch, 2.6 kB (added by aaronc542, 1 year ago) |
|---|
-
mango/icu/ICU.d
old new 53 53 private static const final char[] ICULib = "30"; 54 54 private static const final char[] ICUSig = "_3_0\0"; 55 55 } 56 else 56 version (ICU32) 57 57 { 58 58 private static const final char[] ICULib = "32"; 59 59 private static const final char[] ICUSig = "_3_2\0"; 60 60 } 61 version (ICU34) 62 { 63 private static const final char[] ICULib = "34"; 64 private static const final char[] ICUSig = "_3_4\0"; 65 } 66 version (ICU36) 67 { 68 private static const final char[] ICULib = "36"; 69 private static const final char[] ICUSig = "_3_6\0"; 70 } 71 else 72 { 73 private static const final char[] ICULib = "38"; 74 private static const final char[] ICUSig = "_3_8\0"; 75 } 61 76 62 77 /******************************************************************************* 63 78 -
mango/icu/UDateFormat.d
old new 170 170 }; 171 171 172 172 173 /*********************************************************************** 174 175 Open a new UDateFormat for formatting and parsing dates 176 and time using the pattern for the specified locale. 177 178 ***********************************************************************/ 179 180 this (Style time, Style date, inout ULocale locale, inout UTimeZone tz) 181 { 182 Error e; 183 184 handle = udat_open (time, date, toString(locale.name), tz.name.ptr, tz.name.length, null, 0, e); 185 testError (e, "failed to create DateFormat"); 186 } 187 173 188 /*********************************************************************** 174 189 175 190 Open a new UDateFormat for formatting and parsing dates -
mango/icu/UNumberFormat.d
old new 703 703 AfterSuffix 704 704 }; 705 705 706 p rivateenum Style706 public enum Style 707 707 { 708 708 PatternDecimal, 709 709 Decimal,
