際際滷
Submit Search
Java date formatsymbols class
Download as PPT, PDF
0 likes
253 views
Nontawat Wongnuk
Follow
1 of 15
Download now
Download to read offline
More Related Content
Java date formatsymbols class
1.
DateFormatSymb ols Class
2.
new DateFormatSymbols () method:new DateFormatSymbols
(); return type:DateFormatSymbols content:犢犖犢犖犖犢犖迦 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols ();
3.
new DateFormatSymbols ( object_locale
) method:new DateFormatSymbols ( object_locale ); return type:DateFormatSymbols content:犢犖犢犖犖犢犖迦 Object DateFormatSymbols 犢犖犖∇検犖朽犢犖 犖犖項犢犖犖犖犖犖犖о険犖犖犖朽 犢犖ム鍵犢犖о献犖 犖犖迦検 timezone 犖犖犖 Locale 犖犖朽犖犖橿顕犖犖犖 example:Locale locale = new Locale ( "th", "TH" ); DateFormatSymbols date_format_symbols = new
4.
setEras() method:setEras ( object_string_array
); return type:void content:犢犖犢犖犖橿顕犖犖犖 犖犖橿顕犖犖犖巌犖迦権 犖犖園犖犖迦 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] eras = { "犖犢犖犖犖犖伍犖犖犖園犖犖迦", "犖犖ム険犖犖犖伍犖犖犖園犖犖迦" }; date_format_symbols.setEras ( eras );
5.
getEras() method:getEras (); return type:String
Array content:犢犖犢犖犖犖犢犖 犖犖橿顕犖犖犖巌犖迦権 犖犖園犖犖迦 犖犖犖 犖 Object DateFormatSymbols ( 犢犖犖∇検犖朽犖 BC 犢 犢犖ム鍵 AD 犖犖迦検犖ム験犖迦犖園 ) example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] eras = date_format_symbols.getEras ();
6.
setMonths() method:setMonths ( object_string_array ); return
type:void content:犢犖犢犖犖橿顕犖犖犖 犖犖橿顕犖犖犖巌犖迦権 犢犖犖劇賢犖犢犖犖犢犖犢犖 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] months = { "犖÷犖犖迦犖", "犖犖伍検犖犖迦犖園犖犢", "犖÷元犖犖迦犖", "犢犖÷県犖迦権犖", "犖犖む県犖犖迦犖", "犖÷鹸犖犖伍犖迦権犖", "犖犖犖犖犖迦犖",
7.
getMonths() method:getMonths (); return type:String
Array content:犢犖犢犖犖犖犢犖 犖犖橿顕犖犖犖巌犖迦権 犢犖犖劇賢犖犢犖犖犢犖犢犖 犖 犖犖犖 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] months = date_format_symbols.getMonths ();
8.
setShortMonths() method:setShortMonths ( object_string_array ); return
type:void content:犢犖犢犖犖橿顕犖犖犖 犖犖橿顕犖犖犖巌犖迦権 犢犖犖劇賢犖犢犖犖犖∇犖 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] months = { "犖.犖.", "犖.犖.", "犖÷元.犖.", "犢犖.犖.", "犖.犖.", "犖÷鹸.犖.", "犖.犖.", "犖.犖.", "犖.犖.", "犖.犖.", "犖.犖.", "犖.犖." };
9.
getShortMonths() method:setMonths ( object_string_array ); return
type:void content:犢犖犢犖犖橿験犖犖犖 犖犖橿験犖犖犖巌犖橿権 犢犖犖劇賢犖犢犖犖犢犖犢犖 犢犖犢犖犖園 Object DateFormatSymbolmethod:getShortMont hs (); return type:String Array content:犢犖犢犖犖劇犖犢犖 犖犖橿験犖犖犖巌犖橿権 犢犖犖劇賢犖犢犖犖犖∇犖 犖犖犖 Object DateFormatSymbols
10.
getShortMonths() example:DateFormatSymbols (犖犢犖 ) date_format_symbols =
new DateFormatSymbols (); String [] months = date_format_symbols.getShortMonths ();s example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] months = { "犖÷犖犖橿犖", "犖犖伍検犖犖橿犖園犖犢", "犖÷元犖犖橿犖", "犢犖÷県犖橿権犖", "犖犖む県犖犖橿犖", "犖÷鹸犖犖伍犖橿権犖", "犖犖犖犖犖橿犖", "犖犖巌犖犖橿犖", "犖犖園犖∇験犖∇", "犖犖伍献犖橿犖", "犖犖む絹犖犖巌犖橿権犖", "犖犖園犖о験犖犖" };
11.
setWeekdays() method:setW eekdays ( object_string_array ); return
type:void content:犢犖犢犖犖橿験犖犖犖 犖犖橿験犖犖犖巌犖橿権 犖犖劇犖犖о険犖犢犖犖犢犖犢犖 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] days = { "犖о険犖犖犖園犖犖犢", "犖о険犖犖犖園犖犖橿牽", "犖о険犖犖犖伍", "犖о険犖 犖犖む見犖園肩犖犖犖", "犖о険犖犖犖伍犖犢", "犖о険犖犢犖犖橿牽犢", "犖о険犖犖犖橿犖巌犖∇" };
12.
getWeekdays() method:getW eekdays (); return type:String
Array content:犢犖犢犖犖劇犖犢犖 犖犖橿験犖犖犖巌犖橿権 犖犖劇賢犖о険犖犢犖犖犢犖犢犖 犢 犖犖犖 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] days = date_format_symbols.getWeekdays ();
13.
setShortWeekdays() method:setShortW eekdays ( object_string_array ); return
type:void content:犢犖犢犖犖橿験犖犖犖 犖犖橿験犖犖犖巌犖橿権 犖犖劇賢犖о険犖犢犖犖犖∇犖 犢 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] days = { "犖.", "犖.", "犖.", "犖犖.", "犖.", "犖.", "犖犖." }; date_format_symbols.setShortWeekdays ( days );
14.
setAmPmStrings() method:setAmPmStrings ( object_string_array ); return
type:void content:犢犖犢犖犖橿験犖犖犖 犖犖橿験犖犖犖巌犖橿権 犖犢犖 AM 犢犖ム鍵 PM 犢犖犢犖犖園 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] am_pm = { "犖犢犖犖犢犖犖朽犖∇犖о険犖", "犖犖ム険犖犢犖犖朽犖∇犖о険犖" }; date_format_symbols.setAmPmStrings ( am_pm );
15.
getAmPmStrings() method:getAmPmStrings (); return type:String
Array content:犢犖犢犖犖劇犖犢犖 犖犖橿験犖犖犖巌犖橿権 犖犢犖 AM 犢犖ム鍵 PM 犖犖犖 Object DateFormatSymbols example:DateFormatSymbols date_format_symbols = new DateFormatSymbols (); String [] am_pm = date_format_symbols.getAmPmStrings ();
Download