Skip to content

Tag: java

how to handle date comparison in Java during daylight saving?

Not to run code at 5:30 Morning in Summer and not to run code on 6:30 in winter. In Java Code, Applied following but now winter comes and we need not not run it at 6:30 AM How to handle this use case for daylight saving areas? Answer You can use TimeZone’s inDaylightTime() method to determine if day lig…

Is truststore a pure Java terminology?

When I search “truststore” on YouTube, I got the following video as the first hit. It is about Java. https://www.youtube.com/watch?v=Ur9LlNOYnRg A Google search also mostly returns Java webpages. Is this a pure Java concept? How can in be explained in the context of SSL/TLS without using Java? Ans…