- Updated test names to reflect what it is testing

This commit is contained in:
vatsalgosar
2019-10-30 00:07:04 +05:30
parent db85c8f275
commit 7e61f39222
20476 changed files with 1641624 additions and 0 deletions
@@ -0,0 +1,18 @@
package com.baeldung.datetime;
import java.time.ZonedDateTime;
public class ZonedDateTimeExtractYearMonthDayIntegerValues {
int getYear(ZonedDateTime zonedDateTime) {
return zonedDateTime.getYear();
}
int getMonth(ZonedDateTime zonedDateTime) {
return zonedDateTime.getMonthValue();
}
int getDay(ZonedDateTime zonedDateTime) {
return zonedDateTime.getDayOfMonth();
}
}