About Question enthuware.ocpjp.v8.2.1744 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
foxxbl
Posts: 4
Joined: Tue Nov 29, 2016 12:32 pm
Location: Dublin,Ireland
Contact:

About Question enthuware.ocpjp.v8.2.1744 :

Post by foxxbl »

Hi!
Note:
The following code example from the explanation is valid only if we static import java.time.temporal.ChronoUnit.MINUTES:

Code: Select all

// these two lines are equivalent
amount = start.until(end, MINUTES);
amount = MINUTES.between(start, end);
Maybe it would be clearer to use the same code style as the code from the question (ChronoUnit.Minutes):

Regards,
Boris

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1744 :

Post by admin »

Updated.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests