Skip to content

Conversation

@r3-yamauchi
Copy link
Owner

No description provided.

ListOrderThread listOrderThread = new ListOrderThread();

DateFormat currentDateFormat = new SimpleDateFormat("dd MMM yyyy");
DateFormat currentDateFormat = new SimpleDateFormat("yyyy/MM/dd");
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer

The SimpleDateFormat object was created without setting the time zone. Make sure that you want to use the default time zone or use letter z, Z or X in the pattern. Otherwise, if you don?t call setTimeZone() on the created SimpleDateFormat object, you might get an unexpected date and time when using the object.

ListOrderThread listOrderThread = new ListOrderThread();

DateFormat currentDateFormat = new SimpleDateFormat("dd MMM yyyy");
DateFormat currentDateFormat = new SimpleDateFormat("yyyy/MM/dd");
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer

The SimpleDateFormat object was created without setting the time zone. Make sure that you want to use the default time zone or use letter z, Z or X in the pattern. Otherwise, if you don?t call setTimeZone() on the created SimpleDateFormat object, you might get an unexpected date and time when using the object.

ListOrderThread listOrderThread = new ListOrderThread();

DateFormat currentDateFormat = new SimpleDateFormat("dd MMM yyyy");
DateFormat currentDateFormat = new SimpleDateFormat("yyyy/MM/dd");
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer

The SimpleDateFormat object was created without setting the time zone. Make sure that you want to use the default time zone or use letter z, Z or X in the pattern. Otherwise, if you don?t call setTimeZone() on the created SimpleDateFormat object, you might get an unexpected date and time when using the object.

ListOrderThread listOrderThread = new ListOrderThread();

DateFormat currentDateFormat = new SimpleDateFormat("dd MMM yyyy");
DateFormat currentDateFormat = new SimpleDateFormat("yyyy/MM/dd");
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer

The SimpleDateFormat object was created without setting the time zone. Make sure that you want to use the default time zone or use letter z, Z or X in the pattern. Otherwise, if you don?t call setTimeZone() on the created SimpleDateFormat object, you might get an unexpected date and time when using the object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants