Java Reference
In-Depth Information
Summary
Numbers and dates play an integral role in most applications. The Java language
provides a bevy of classes that can be used to work with different kinds of numbers,
and format them to fit most situations. This chapter reviewed some techinques that can
be used for rounding and formatting numbers, as well as generating random values. A
new Date and Time package has been included with the release of Java 8, bringing a
refreshing, easy to use API for obtaining and working with dates. This chapter covered
the basics of the new Date and Time package, and much more is covered online: ht-
tp://docs.oracle.com/javase/tutorial/datetime/ .
Search WWH ::




Custom Search