Articles, Home

Java parse String to Date – HowToDoInJava

Learn to parse dates from string to java.util.Date object. Also see some useful date pattern strings, which will help you in building your own custom date pattern. Useful Date Patterns Pattern Example yyyy-MM-dd (ISO) “2018-07-14” dd-MMM-yyyy “14-Jul-2018” dd/MM/yyyy “14/07/2018” E, MMM dd yyyy “Sat, Jul 14 2018” h:mm a “12:08 PM” EEEE, MMM dd, yyyy …

Articles, dummyCategory

Convert Date to EST/EDT Timezone

Java supports three timezone constants for Eastern Standard Time i.e. “EST”, “America/New_York” and “EST5EDT”. It is very important to understand difference between them to correctly utilize these constants for converting date or time in Eastern Standard Time values.

Articles, dummyCategory

Class sharing in Eclipse OpenJ9

Memory footprint and startup time are important performance metrics for a Java virtual machine (JVM). The memory footprint becomes especially important in the cloud environment since you pay for the memory your application uses. This tutorial shows you how to use the shared classes feature in Eclipse OpenJ9 to reduce the memory footprint and improve your JVM startup time.

Articles, dummyCategory

Java Testing Weekly 28 / 2018

There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis. Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided to create a newsletter that shares the best testing articles which I found during the last week. Let’s get started. Technical Stuff Spring Boot Integration Testing with Embedded MongoDB describes how you can write integration tests for a Spring Boot application that uses MongoDB. The Really Valuable Stuff On ending the regression automation fixation is a good blog post that describes why you shouldn’t write end-to-end tests if you want to get started with test automation. Note that even though the author uses the term regression test, the tests he describes seem like end-to-end tests to me. Streamlining your Automated Test Strategy with Risk Maps is a thought-provoking post that describes how you can get the best bang for your buck by identifying the things that can go wrong and writing tests for the riskiest “parts” of the tested feature. What Is Software Testing introduces