concept time literal in category java

appears as: time literals
JavaFX in Action

This is an excerpt from Manning's book JavaFX in Action.

2.4. Durations, using time literals

You really know a language is specialized to cope with animation when you see it has a literal syntax for time durations. What are time literals? Well, just as the quoted syntax makes creating strings easy, the time literal syntax provides a simple, specialized notation for expressing intervals of time. Listing 2.16 shows it in action.