MCPcopy Create free account
hub / github.com/MenoData/Time4J / today

Method today

base/src/test/java/net/time4j/AnnualDateTest.java:187–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 }
186
187 @Test
188 public void today() {
189 ZonalClock clock = SystemClock.inLocalView();
190 PlainDate date = clock.today();
191 assertThat(
192 AnnualDate.nowInSystemTime().atYear(date.getYear()),
193 is(date));
194 }
195
196 @Test
197 public void serialization()

Callers 7

caSupportMethod · 0.45
umalquraPreferenceMethod · 0.45
offsetOneDayMethod · 0.45
getStdTransitionsMethod · 0.45
getStdTransitionsMethod · 0.45
getStdTransitionsMethod · 0.45
missingTodayMethod · 0.45

Calls 5

inLocalViewMethod · 0.95
todayMethod · 0.95
nowInSystemTimeMethod · 0.95
getYearMethod · 0.95
atYearMethod · 0.45

Tested by

no test coverage detected