java.time.Clock.systemDefaultZone() The method Clock.systemDefaultZone() returns a clock that will use the best available system clock to convert instant into date and time using default time-zone.
java.time.Clock.offset(Clock,Duration) The method java.time.Clock.offset(Clock,Duration) returns a wrapper around given Clock with the specified Duration added. This clock implementation allows easily to jump into the past and future.
java.time.ZoneId.getAvailableZoneIds() The method ZoneId.getAvailableZoneIds() returns set of available zone IDs, including all available region-based IDs. Usually passed to of(String zoneId) to create ZoneId.
java.time.Clock.system(ZoneId zone) The method java.time.Clock.system(ZoneId zone) a clock that uses the best available system clock in the specified zone – never null.
java.time.Clock.fixed() The method java.time.Clock.fixed() returns a clock that always returns the same time. This type of clock is mainly useful in testing.
Quartz Scheduler one shot trigger In this tutorial we’re going to show how to use Quartz Scheduler to execute a Job using simple, one shot Trigger that will run immediately.
MongoDB performance tuning tips This tutorial is a collection of performance tuning tips for Java developers that would like to improve performance of their Java apps on top of MongoDB.
Quartz Scheduler start Quartz Scheduler is one of the most widely used Java libraries. In tutorial we’ll show how to create, start, and shutdown Quartz Scheduler in a Java program.
The java.util.Currency class represents a currency. These are the main properties of the class: Currencies are identified by their ISO 4217 currency codes There is never more than one Currency instance for any given currency Get instance of the class using getInstance() methods the class is final and cannot be inherited. The class declaration is: …
java.util.Currency.toString() The method java.util.Currency.toString() overrides Object.toString() and returns the ISO 4217 currency code of this currency.