| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ArabicEG = 0x0C01, // ar-eg | 62 ArabicEG = 0x0C01, // ar-eg |
| 63 ChineseCN = 0x0804, // zh-cn | 63 ChineseCN = 0x0804, // zh-cn |
| 64 ChineseHK = 0x0C04, // zh-hk | 64 ChineseHK = 0x0C04, // zh-hk |
| 65 ChineseTW = 0x0404, // zh-tw | 65 ChineseTW = 0x0404, // zh-tw |
| 66 German = 0x0407, // de | 66 German = 0x0407, // de |
| 67 EnglishUS = 0x409, // en-us | 67 EnglishUS = 0x409, // en-us |
| 68 FrenchFR = 0x40C, // fr | 68 FrenchFR = 0x40C, // fr |
| 69 JapaneseJP = 0x411, // ja | 69 JapaneseJP = 0x411, // ja |
| 70 KoreanKR = 0x0412, // ko | 70 KoreanKR = 0x0412, // ko |
| 71 Persian = 0x0429, // fa | 71 Persian = 0x0429, // fa |
| 72 Spanish = 0x040A, // es | 72 Spanish = 0x040A, // exceptionState |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 DateComponents dateComponents(int year, int month, int day) | 75 DateComponents dateComponents(int year, int month, int day) |
| 76 { | 76 { |
| 77 DateComponents date; | 77 DateComponents date; |
| 78 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day)); | 78 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day)); |
| 79 return date; | 79 return date; |
| 80 } | 80 } |
| 81 | 81 |
| 82 double msForDate(int year, int month, int day) | 82 double msForDate(int year, int month, int day) |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 testNumbers(ArabicEG); | 296 testNumbers(ArabicEG); |
| 297 testNumbers(German); | 297 testNumbers(German); |
| 298 testNumbers(Spanish); | 298 testNumbers(Spanish); |
| 299 testNumbers(Persian); | 299 testNumbers(Persian); |
| 300 testNumbers(JapaneseJP); | 300 testNumbers(JapaneseJP); |
| 301 testNumbers(KoreanKR); | 301 testNumbers(KoreanKR); |
| 302 testNumbers(ChineseCN); | 302 testNumbers(ChineseCN); |
| 303 testNumbers(ChineseHK); | 303 testNumbers(ChineseHK); |
| 304 testNumbers(ChineseTW); | 304 testNumbers(ChineseTW); |
| 305 } | 305 } |
| OLD | NEW |