Check out example codes for "java bter data atual no padrão brasileiro". It will help you in understanding the concepts better.

Code Example 1

Date d = new Date();
Locale loc = new Locale("pt", "BR");
DateFormat df = DateFormat.getDateInstance(FULL, loc);
System.out.println(df.format(dat));

Learn ReactJs, React Native from akashmittal.com