Java Code Examples for java.time.chrono.MinguoEra#BEFORE_ROC
The following examples show how to use
java.time.chrono.MinguoEra#BEFORE_ROC .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TCKMinguoChronology.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 2
Source File: TCKMinguoChronology.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 3
Source File: TCKMinguoChronology.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 4
Source File: TCKChronology.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@DataProvider(name = "era_epochSecond_dataProvider") Object[][] data_era_epochSecond() { return new Object[][] { {JapaneseChronology.INSTANCE, JapaneseEra.MEIJI, 1873 - YDIFF_MEIJI, 9, 7, 1, 2, 2, OFFSET_P0100}, {JapaneseChronology.INSTANCE, JapaneseEra.SHOWA, 1928 - YDIFF_SHOWA, 2, 28, 1, 2, 2, OFFSET_M0100}, {JapaneseChronology.INSTANCE, JapaneseEra.HEISEI, 1989 - YDIFF_HEISEI, 1, 8, 1, 2, 2, OFFSET_P0100}, {HijrahChronology.INSTANCE, HijrahEra.AH, 1434, 9, 7, 1, 2, 2, OFFSET_P0100}, {MinguoChronology.INSTANCE, MinguoEra.BEFORE_ROC, 1873 - YDIFF_MINGUO, 9, 7, 1, 2, 2, OFFSET_P0100}, {MinguoChronology.INSTANCE, MinguoEra.ROC, 1928 - YDIFF_MINGUO, 2, 28, 1, 2, 2, OFFSET_M0100}, {MinguoChronology.INSTANCE, MinguoEra.ROC, 1989 - YDIFF_MINGUO, 1, 8, 1, 2, 2, OFFSET_P0100}, {ThaiBuddhistChronology.INSTANCE, ThaiBuddhistEra.BE, 1873 + YDIFF_THAIBUDDHIST, 9, 7, 1, 2, 2, OFFSET_P0100}, {ThaiBuddhistChronology.INSTANCE, ThaiBuddhistEra.BE, 1928 + YDIFF_THAIBUDDHIST, 2, 28, 1, 2, 2, OFFSET_M0100}, {ThaiBuddhistChronology.INSTANCE, ThaiBuddhistEra.BE, 1989 + YDIFF_THAIBUDDHIST, 1, 8, 1, 2, 2, OFFSET_P0100}, {IsoChronology.INSTANCE, IsoEra.CE, 1873, 9, 7, 1, 2, 2, OFFSET_P0100}, {IsoChronology.INSTANCE, IsoEra.CE, 1928, 2, 28, 1, 2, 2, OFFSET_M0100}, {IsoChronology.INSTANCE, IsoEra.CE, 1989, 1, 8, 1, 2, 2, OFFSET_P0100}, }; }
Example 5
Source File: TCKMinguoChronology.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 6
Source File: TCKMinguoChronology.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 7
Source File: TCKMinguoChronology.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
@DataProvider(name="prolepticYear") Object[][] data_prolepticYear() { return new Object[][] { {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, {1, MinguoEra.ROC, 2000 - YDIFF, 2000 - YDIFF, true}, {1, MinguoEra.ROC, 2100 - YDIFF, 2100 - YDIFF, false}, {1, MinguoEra.ROC, 0, 0, false}, {1, MinguoEra.ROC, 1908 - YDIFF, 1908 - YDIFF, true}, {1, MinguoEra.ROC, 1900 - YDIFF, 1900 - YDIFF, false}, {1, MinguoEra.ROC, 1600 - YDIFF, 1600 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1911, 1912 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1915, 1916 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1913, 1914 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1999, 2000 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 2099, 2100 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, 1, 0, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1907, 1908 - YDIFF, true}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1899, 1900 - YDIFF, false}, {0, MinguoEra.BEFORE_ROC, YDIFF - 1599, 1600 - YDIFF, true}, }; }
Example 8
Source File: TCKMinguoEra.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 9
Source File: TCKMinguoEra.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 10
Source File: TCKMinguoEra.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 11
Source File: TCKEraSerialization.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "Eras") Era[][] data_of_calendars() { return new Era[][] { {HijrahEra.AH}, {IsoEra.BCE}, {IsoEra.CE}, {MinguoEra.BEFORE_ROC}, {MinguoEra.ROC}, {ThaiBuddhistEra.BEFORE_BE}, {ThaiBuddhistEra.BE}, }; }
Example 12
Source File: TCKMinguoEra.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 13
Source File: TCKEraSerialization.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "Eras") Era[][] data_of_calendars() { return new Era[][] { {HijrahEra.AH}, {IsoEra.BCE}, {IsoEra.CE}, {MinguoEra.BEFORE_ROC}, {MinguoEra.ROC}, {ThaiBuddhistEra.BEFORE_BE}, {ThaiBuddhistEra.BE}, }; }
Example 14
Source File: TCKMinguoEra.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 15
Source File: TCKMinguoEra.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 16
Source File: TCKMinguoEra.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 17
Source File: TCKEraSerialization.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "Eras") Era[][] data_of_calendars() { return new Era[][] { {HijrahEra.AH}, {IsoEra.BCE}, {IsoEra.CE}, {MinguoEra.BEFORE_ROC}, {MinguoEra.ROC}, {ThaiBuddhistEra.BEFORE_BE}, {ThaiBuddhistEra.BE}, }; }
Example 18
Source File: TCKEraSerialization.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "Eras") Era[][] data_of_calendars() { return new Era[][] { {HijrahEra.AH}, {IsoEra.BCE}, {IsoEra.CE}, {MinguoEra.BEFORE_ROC}, {MinguoEra.ROC}, {ThaiBuddhistEra.BEFORE_BE}, {ThaiBuddhistEra.BE}, }; }
Example 19
Source File: TCKMinguoEra.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "MinguoEras") Object[][] data_of_eras() { return new Object[][] { {MinguoEra.BEFORE_ROC, "BEFORE_ROC", 0}, {MinguoEra.ROC, "ROC", 1}, }; }
Example 20
Source File: TCKEraSerialization.java From hottub with GNU General Public License v2.0 | 5 votes |
@DataProvider(name = "Eras") Era[][] data_of_calendars() { return new Era[][] { {HijrahEra.AH}, {IsoEra.BCE}, {IsoEra.CE}, {MinguoEra.BEFORE_ROC}, {MinguoEra.ROC}, {ThaiBuddhistEra.BEFORE_BE}, {ThaiBuddhistEra.BE}, }; }