Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaÖÐCalendarºÍDateµÄһЩʹÓÃÓ÷¨¼¼ÇÉ

1. Èç¹ûÒѾ­ÖªµÀij¸öµØµãµÄÊ±Çø£¬Ä꣬Ô£¬ÈÕ£¬Ê±£¬·Ö£¬Ã룬ϣÍûµÃµ½×ª»»ºóµÄ±¾ÏµÍ³Ê±¼ä£¬¿ÉÒÔ²ÉÓÃÈçÏµķ½·¨£º
·½·¨£º¼ÙÉèÊ±ÇøÊÇGMT+08:00,£¬ÄêÊÇ2009Ä꣬ÔÂÊÇ11Ô£¬ÈÕÊÇ7ÈÕ£¬Ê±ÊÇ10ʱ£¬·ÖÊÇ50·Ö£¬ÃëÊÇ30¡£
public class Time {
 
 public static void main(String[] args) {
  TimeZone tz = TimeZone.getTimeZone("GMT+08:00");        // »ñµÃÊ±Çø
  Calendar cal = Calendar.getInstance();                              
  cal.setTimeZone(tz);                                                             // ÉèÖÃÊ±Çø
  cal.set(Calendar.YEAR, 2009);                                              // ÉèÖÃÄê
  cal.set(Calendar.MONTH, Calendar.NOVEMBER);                  // ÉèÖÃÔÂ
  cal.set(Calendar.DAY_OF_MONTH, 7);                                  // ÉèÖÃÈÕ
  cal.set(Calendar.HOUR_OF_DAY, 10);                             &


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

ÀûÓöÌÐÅè·¢ËͶÌÐŵÄJava´úÂë

ǰһ¶ÎÐèÒªÓöÌÐÅè·¢ËͶÌÐÅ£¬Ð´ÁËÒ»¶Î¶ÌÐÅè·¢ËͶÌÐŵĴúÂ룺
import javax.comm.*;
import java.util.*;
import java.io.*;
import org.smslib.*;
public class smsModem
{
    private static  LinkedList<COutgoingMessage> msgList = new LinkedList<COutgoingMessage>();
&n ......

JAVA,List,Map,Set,ÈÝÆ÷

 JAVA,List,Map,Set,ÈÝÆ÷
Collection
©ÀList
©¦©ÀLinkedList
©¦©ÀArrayList
©¦©¸Vector
©¦¡¡©¸Stack
©¸Set
Map
©ÀHashtable
©ÀHashMap
©¸WeakHashMap
Collection½Ó¿Ú
¡¡¡¡CollectionÊÇ×î»ù±¾µÄ¼¯ºÏ½Ó¿Ú£¬Ò»¸öCollection´ú±íÒ»×éObject£¬¼´CollectionµÄÔªËØ£¨Elements£©¡£Ò»Ð© CollectionÔÊÐíÏàͬµÄÔªËØ¶ø ......

javaÖÐorg.apache.commons.digesterÀàÓ÷¨

xmlÎļþÄÚÈÝ£º
 <?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel switchTime="20080101000101" k="1.07" n="6" s="55" channelId="0404" channelName="xxxx.xxxx.xxx.cn"/>
<channel switchTime="20080301010101" k="1.07" n="6" s="55" channelId="0405" channelName="xxx ......

»ùÓÚJavaµÄһЩȨÏÞ¿ò¼Ü¼ò½é


»ùÓÚJavaµÄһЩȨÏÞ¿ò¼Ü¼ò½é
JOSSO
  JOSSO(Java   Open   Single   Sign-On)ÊÇÒ»¸ö¿ªÔ´µÄJ2EE-basedµÄSSO(SSO£ºµ¥Ò»µÇ¼¼¼ÊõÊÇÒ»ÖÖÈÏÖ¤ºÍÊÚȨ»úÖÆ£¬ËüÔÊÐí×¢²áÓû§Ö»ÐèÒªÔÚÈÎÒ»³ÉÔ±ÍøÕ¾ÉϵǼһ´Î£¬¶øºóÊÚȨ·ÃÎÊÆäËûÁ¬½ÓµÄ·ÖÖ§ÍøÕ¾£¬ÎÞÐèÔÙ½øÐÐÑéÖ¤µÇ¼)»ù´¡½á¹¹.ËüµÄÄ¿µÄÊÇÌṩһÖÖÓÃÀ´½â¾öÔÚÍ³Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ