Converting String to Instant

A string that follows the ISO-8601 standard for representing date and time can be easily converted to Instant via the  Instant.parse() method, as in the following example:

// 2019-02-24T14:31:33.197021300Z
Instant timestampFromString =
Instant.parse("2019-02-24T14:31:33.197021300Z");
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.234.150