1 /* |
1 /* |
2 * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
66 HOUR_OF_DAY, 10); |
66 HOUR_OF_DAY, 10); |
67 test(US, AM_PM, "p", |
67 test(US, AM_PM, "p", |
68 HOUR_OF_DAY, 23); |
68 HOUR_OF_DAY, 23); |
69 test(JAJPJP, DAY_OF_WEEK, |
69 test(JAJPJP, DAY_OF_WEEK, |
70 LocalDateTime.now().isBefore(LocalDateTime.of(2019, 5, 1, 0, 0)) ? |
70 LocalDateTime.now().isBefore(LocalDateTime.of(2019, 5, 1, 0, 0)) ? |
71 "\u65e5" : "\u706b", // "Sun" for HEISEI, "Tue" for NEWERA |
71 "\u65e5" : "\u706b", // "Sun" for HEISEI, "Tue" for REIWA |
72 YEAR, 24, MONTH, DECEMBER, DAY_OF_MONTH, 23); |
72 YEAR, 24, MONTH, DECEMBER, DAY_OF_MONTH, 23); |
73 test(THTH, MONTH, NARROW_STANDALONE, "\u0e18.\u0e04.", |
73 test(THTH, MONTH, NARROW_STANDALONE, "\u0e18.\u0e04.", |
74 YEAR, 2555, MONTH, DECEMBER, DAY_OF_MONTH, 5); |
74 YEAR, 2555, MONTH, DECEMBER, DAY_OF_MONTH, 5); |
75 test(THTH, DAY_OF_WEEK, "\u0e1e", |
75 test(THTH, DAY_OF_WEEK, "\u0e1e", |
76 YEAR, 2555, MONTH, DECEMBER, DAY_OF_MONTH, 5); |
76 YEAR, 2555, MONTH, DECEMBER, DAY_OF_MONTH, 5); |