• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

 
Greenhorn
Posts: 4
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: 42135
937
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic