The milliseconds to set in /lib/ of Java jre is UTC

"Epoch time" is set, so put it in UTC!

When to switch the era, which is a hot topic right now "January 1, 2019" As a result of testing with

The start time in "UTC" on that day is in ISO8601 format.


 So, in epoch time (milliseconds),
 have become.

 This number is used for JRE

#### **`/lib/`**

 When I set it to, I was able to switch successfully. It is a story.

 * I referred to the following article.
 Support the new era in Java

## I wondered if I would set the delimiter time of Japan time to property.

 9 hours time difference

#### **`2019-01-01T00:00:00+09:00 → 1546268400000`**

I tried to set From the first day of the next era, it was "~~ January 1, 2nd year", so I almost died.

Please refer to it in an environment where Oracle update cannot be applied.

Utility for work


Recommended Posts

The milliseconds to set in /lib/ of Java jre is UTC
[Java] Is it unnecessary to check "identity" in the implementation of the equals () method?
Summary of how to use the proxy set in IE when connecting with Java
How to derive the last day of the month in Java
Fix the file name of war to the one set in Maven
How to get the length of an audio file in java
How to increment the value of Map in one line in Java
Get the result of POST in Java
Java reference to understand in the figure
[Java] How to set the Date time to 00:00:00
What is the main method in Java?
Static function to check if the RGB error of BufferdImage is within the specified ratio in Java
How to get the date in java
Output of the book "Introduction to Java"
The story of writing Java in Emacs
How to set the indent to 2 single-byte spaces in the JAXB implementation of the JDK
Code of the part where server.servlet.session.timeout is set in spring.session.timeout in spring-boot2 system
The story of forgetting to close a file in Java and failing
[Java Servlet] The road of Senri is also one step to the first
How to find the total number of pages when paging in Java
How to get the absolute path of a directory running in Java
From Java9, the constructor of the class corresponding to primitive types is deprecated.
What is CHECKSTYLE: OFF found in the Java source? Checkstyle to know from
Set up a Java GUI in a separate thread to keep the main
[Order method] Set the order of data in Rails
The story of low-level string comparison in Java
[Java] Handling of JavaBeans in the method chain
The story of making ordinary Othello in Java
About the idea of anonymous classes in Java
The order of Java method modifiers is fixed
The intersection type introduced in Java 10 is amazing (?)
The story of learning Java in the first programming
Measure the size of a folder in Java
Set the time of LocalDateTime to a specific time
Feel the passage of time even in Java
[Java] (for MacOS) How to set the classpath
[Java] How to get the authority of the folder
[Java] Something is displayed as "-0.0" in the output
Import files of the same hierarchy in Java
Java Welcome to the Swamp of 2D Arrays
Summarize the life cycle of Java objects to be aware of in Android development
Initialize Ruby array with 0 like Java, that is, set the default value to 0
Make the JSON of the snake case correspond to the field of the camel case in Java (JVM)
[Java] Where is the implementation class of annotation that exists in Bean Validation?
Let's refer to C ++ in the module of AndroidStudio other project (Java / kotlin)
How to set when "The constructor Empty () is not visible" occurs in junit
How to set environment variables in the properties file of Spring boot application
Is it mainstream not to write the closing tag of <P> tag in Javadoc?
Conditional branching of the result of SQL statement to search only one in Java
What is ... (3 dots) found in the Java source? Variadic arguments to know from
Sample code to get the values of major SQL types in Java + MySQL 8.0
Get the URL of the HTTP redirect destination in Java
How to set the display time to Japan time in Rails
[Java] How to omit the private constructor in Lombok
When the hover of Eclipse is hard to see
In Time.strptime,% j (total date of the year) is
How to write Scala from the perspective of Java
The comparison of enums is ==, and equals is good [Java]
Which is better, Kotlin or Java in the future?
Understand the characteristics of Scala in 5 minutes (Introduction to Scala)
[Java] Implementation method memo to set WS-Security Username Token in SOAP Stub of axis2