Recently, Turkey (September 6, 2016) decided to stay in Daylight Saving Time (DST) . This act canceled the end of DST, previously scheduled for October 30, 2016, 04:00:00. The clock has not been changed.
Turkey is between +2 and +3 utc , so now it will remain at +3. Here you can see
https://www.timeanddate.com/time/change/turkey/ankara?year=2016
... and on the Wikipedia page Time in Turkey , and this article of the Hurriyet Daily News, Turkey will implement daylight saving time year-round .
Here they discuss, but I have an application in Spring Boot.
Android TimeZone Turkey GMT
cmntWrapper.setCreatedAtString(cmnt.getCreatedAt(). now(ZoneId.of(Constants.TURKEY_ZONE)). format(DateTimeFormatter.ofPattern(Constants.DATE_TIME_FORMAT)));
this is how i take the date.
Now the hour is 13.50 , but now it is 14.50 . Because we are at +3.
What can I do?
I don’t want to use utc +3 because they can say next year, "allows you to use + + + + + + again to switch to the concept of daylight saving." Therefore, I can’t take a chance.
I can’t change the code in the coming weeks, it will remain constant after a few weeks.
What do you offer for regulars?
and also how can I create java? because for my test Linux machine see this please.
puapp @ PU-APP-01: ~ $ java version The java program can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * openjdk-6-jre-headless Try: sudo apt-get install puapp @ PU-APP-01: ~ $
puapp @ PU-APP-01: ~ $ whereis java java: / usr / share / java puapp @ PU-APP-01: ~ $
puapp @ PU-APP-01: ~ $ whereis java java: / usr / share / java
But in local I have java.
vegan @vegan: ~ $ java -version java version "1.8.0_111" Java (TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot (TM) 64-bit server VM (build 25.111-b14, mixed mode ) vegan @vegan: ~ $
but local doesn't matter. that linux server is optional.
and for our main machine there is java
produp@Produp-app-01:~$ java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) produp@Produp-app-01:~$