THE Java™ Programming Language, Fourth Edition
DAY_OF_WEEK DAY_OF_WEEK_IN_MONTH DAY_OF_MONTH DATE DAY_OF_YEAR WEEK_OF_MONTH WEEK_OF_YEAR MONTH YEAR ERA ZONE_OFFSET DST_OFFSET ...
month has more than 31 days. The set method allows you to specify a date by certain calendar fields and then calculate the time ...
24.4.2. Time Zones TimeZone is an abstract class that encapsulates not only offset from GMT but also other offset issues, such a ...
daylight saving time offset into account. All parameters are interpreted relative to the calendar for which the particular time ...
publicGregorianCalendar(int year, int month, int date) Equivalent to GregorianCalendar(year,month,date,0,0,0) that is, midnight ...
DateFormat provides several ways to format and parse dates and times. It is a subclass of the general Format class, discussed in ...
public abstract StringBufferformat(Object obj, StringBuffer appendTo, FieldPosition pos) Adds the formatted string for obj to th ...
24.5.1. Using Formatter with Dates and Times The java.util.Formatter class, described in Chapter 22, also supports the formattin ...
a Short name of the day of the week C The four digit year divided by 100. Two digits: 0099 Y Year. Four digits: 00009999 y Year: ...
24.6. Internationalization and Localization for Text The package java.text provides several types for localizing text behavior, ...
treeMap that uses a CollationKey to map to the original string. CollationKey implements the interface Comparable with a compareT ...
Here is a method you can use to print a number using the format for several different locales: public void reformat(double num, ...
5,372.97 5 372,97 5.372,97 24.6.3. Text Boundaries Parsing requires finding boundaries in text. The class BreakIterator provides ...
The Java™ 2 Platform Standard Edition comes with many standard packages. These packages, all subpackages of the root java packag ...
java.util.zip Classes for reading and writing ZIP files. Further packages exist outside the java package of the platform, in w ...
be placed and add the components so that they have the expected relationships. If you do this right, your interface will look cl ...
Various subpackages of java.awt allow you to manipulate images, sounds, and other media: java.awt.color color manipulation tool ...
The applet model is a good example of how the Java platform provides power. The fact that the same code runs on all systems in t ...
static final BigInteger ONE = BigInteger.valueOf(1); static final BigInteger TWO = BigInteger.valueOf(2); static final BigIntege ...
The java.net package is centered around the Socket class, which represents a connection to another socketpossibly on another mac ...
«
24
25
26
27
28
29
30
31
32
33
»
Free download pdf