Implemented climatic forecast for 30 days. Some refactoring.

This commit is contained in:
2022-05-01 01:23:51 +03:00
parent 4fdb48986e
commit 7f0866ffa2
62 changed files with 2402 additions and 224 deletions
@@ -0,0 +1,12 @@
package com.github.prominence.openweathermap.api.utils;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.TimeZone;
public class TestMappingUtils {
public static LocalDateTime parseDateTime(int seconds) {
return LocalDateTime.ofInstant(Instant.ofEpochSecond(seconds), TimeZone.getDefault().toZoneId());
}
}