• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

1Z0-829 OCP Java 17 possible typo on Formatting Values

 
Greenhorn
Posts: 3
1
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On page 627 of the OCP Java 17 Study Guide, the symbol used to mean "Second" is "S", but I think it should be lowercase "s".
s = second of minute, whereas S = fraction of a second, as per https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/format/DateTimeFormatter.html

Also, a nice addition made between Java 11 and Java 17 is the 'B' symbol, meaning "period-of-day", such as "in the morning". Might be something that gets asked on the exam.
 
author & internet detective
Posts: 41763
885
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Radu,
Congrats on finding the second error in the book. I've given you a cow and added it to the errata. This was definitely a typo. We even correctly use lowercase "s" in the example immediately after that table.

I don't think you'll see "B" on the exam. They only cover the most common ones.  I could see "B" being useful when writing a real application though.
 
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic