Java Code Examples for java.time.YearMonth#toString()
The following examples show how to use
java.time.YearMonth#toString() .
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: TCKYearMonth.java From j2objc with Apache License 2.0 | 5 votes |
@Test() @UseDataProvider("provider_sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 2
Source File: YearMonthXmlAdapter.java From threeten-jaxb with Apache License 2.0 | 4 votes |
@Override public String marshal(YearMonth value) { return value != null ? value.toString() : null; }
Example 3
Source File: TCKYearMonth.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 4
Source File: TCKYearMonth.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 5
Source File: TCKYearMonth.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 6
Source File: TCKYearMonth.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 7
Source File: YearMonthFormatter.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override public String print(YearMonth object, Locale locale) { return object.toString(); }
Example 8
Source File: TCKYearMonth.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 9
Source File: TCKYearMonth.java From hottub with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 10
Source File: YearMonthTypeDescriptor.java From hibernate-types with Apache License 2.0 | 4 votes |
@Override public String toString(YearMonth value) { return value.toString(); }
Example 11
Source File: YearMonthFormatter.java From spring-analysis-note with MIT License | 4 votes |
@Override public String print(YearMonth object, Locale locale) { return object.toString(); }
Example 12
Source File: StringColumnYearMonthMapper.java From jadira with Apache License 2.0 | 4 votes |
@Override public String toNonNullValue(YearMonth value) { return value.toString(); }
Example 13
Source File: TCKYearMonth.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 14
Source File: TCKYearMonth.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 15
Source File: YearMonthFormatter.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public String print(YearMonth object, Locale locale) { return object.toString(); }
Example 16
Source File: TCKYearMonth.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 17
Source File: TCKYearMonth.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 18
Source File: YearMonthFormatter.java From java-technology-stack with MIT License | 4 votes |
@Override public String print(YearMonth object, Locale locale) { return object.toString(); }
Example 19
Source File: TCKYearMonth.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }
Example 20
Source File: TCKYearMonth.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
@Test(dataProvider="sampleToString") public void test_toString(int y, int m, String expected) { YearMonth test = YearMonth.of(y, m); String str = test.toString(); assertEquals(str, expected); }