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

Java Calendar »ñÈ¡±¾ÖÜÖÜÒ»ºÍÖÜÈÕ´úÂë

/**
  * µÃµ½±¾ÖÜÖÜÒ»
  *
  * @return yyyy-MM-dd
  */
 public static String getMondayOfThisWeek() {
  Calendar c = Calendar.getInstance();
  int day_of_week = c.get(Calendar.DAY_OF_WEEK) - 1;
  if (day_of_week == 0)
   day_of_week = 7;
  c.add(Calendar.DATE, -day_of_week + 1);
  return df2.format(c.getTime());
 }
 /**
  * µÃµ½±¾ÖÜÖÜÈÕ
  *
  * @return yyyy-MM-dd
  */
 public static String getSundayOfThisWeek() {
  Calendar c = Calendar.getInstance();
  int day_of_week = c.get(Calendar.DAY_OF_WEEK) - 1;
  if (day_of_week == 0)
   day_of_week = 7;
  c.add(Calendar.DATE, -day_of_week + 7);
  return df2.format(c.getTime());
 }


Ïà¹ØÎĵµ£º

JAVA²ÎÊý´«µÝÖµ´«µÝµÄÀí½â¡£

Ê×ÏÈÃ÷ȷһϣºjavaÀïÃæÖ»ÓÐÖµ´«µÝ£¬ÒýÓô«µÝÖ»ÊÇÒ»Ö»Îó¶Á¶øÒÑ¡£
À´¿´Ò»¸öÀý×Ó£º
public static void main(String[] args)
{
StringBuffer str1 = new StringBuffer("hello");
test(str1);
System.out.println("main : " + str1);
}
public static void test(StringBuffer s ......

flexÇëÇóÖÐץȡJAVAÒì³£ÐÅÏ¢

     ÈçºÎ»ñÈ¡LCDSÇëÇó¹ý³ÌÖÐJAVAÅ׳öÀ´µÄExceptionÄØ£¿ µ±flexͨ¹ýÇëÇó¶ÔÏóÇëÇó·þÎñ¶ËµÄʱºò£¬ÇëÇó³É¹¦»á·¢mx.rpc.events.ResultEventʼþ£¬Óöµ½·þÎñ¶ËÒì³£»òÆäËû·Ç200µÄHTTP״̬Â루ÀýÈç404£¬403£©Ôò»á·¢mx.rpc.events.FaultEventʼþ£¬µ«ÇëÇóʧ°ÜÊÇÒòΪʲôԭÒòÄØ£¿ÒòΪ²»Í¬µÄÔ­Òò¿ÉÄܵ¼Ö½çÃæÉϲ»Í ......

java RSS ʵÏÖ£¨ÁÐ×Ó£©

Ò»£º RSS½éÉÜ
¸ù¾Ýά»ù°Ù¿Æ(http://zh.wikipedia.org/wiki/RSS)µÄ¶¨Ò壬“RSSÊÇÒ»ÖÖÓÃÓÚ¹²ÏíÐÂÎÅºÍÆäËûWebÄÚÈݵÄÊý¾Ý½»»»¹æ·¶ ”£¬ËüÊÇһϵÁеĹ淶µÄ×éºÏ£¬²ÉÓÃXML¸ñʽ¡£Ä¿Ç°¹úÄÚRSSÓ¦ÓÃ×î¶àµÄÊÇÔÚÐÂÎÅÍøÕ¾ºÍ²©¿ÍÍøÕ¾ÉÏ¡£
Ðí¶àÍøÕ¾¿ÉÒÔÓÃRSSÔĶÁÆ÷À´¸öÐÔ»¯×Ô¼ºµÄÍøÒ³£¬±ÈÈçÏÔʾ×îеÄÐÂÀËÐÂÎÅ£¬ÏÔʾ×Ô¼ººÃÅóÓÑ ......

JavaScriptºÍJavaµÄÇø±ð


JavaScriptºÍJavaµÄÇø±ð
×÷Ϊ±¾Õ¾µÄ×ÚÖ¼£­£­Ìṩѧϰweb±à³ÌµÄËùÓÐ֪ʶ£¬ÌØ¿ªÉ豾רÀ¸JavaScript»ù´¡½Ì³Ì£®±¾JavaScript»ù´¡½Ì³ÌµÄÄÚÈÝ´Ó»¥ÁªÍøÉÏ×ªÔØ£¬Ô­ÔòÉÏ»á´øÓÐÔ­½Ì³ÌµÄÁ´½Ó£¬ËùÒÔ±¾JavaScript»ù´¡½Ì³ÌµÄ°æÈ¨¹éÔ­´¦ËùÓУ¬ÌØ´ËÉùÃ÷£®ÈÈÇеÄÏ£Íû±¾JavaScript»ù´¡½Ì³ÌÄÜΪÄã´øÀ´°ïÖú£­£­¿µÊ¢²©¿Í£®
JavaScriptÓïÑÔºÍJ ......

java»ù´¡²¿·Ö±ØÐëÕÆÎÕµÄÄÚÈÝ

ÎÒÃÇѧϰjava±ØÐë°Ñ»ù´¡´òºÃ£¬Ö»ÓÐÕâÑù£¬ÄãµÄ¼¼Êõ²ÅÄܹý¹Ø£¬¼¼Êõ¹ý¹ØÁË£¬Ñ§Ï°Èκοò¼Ü¶¼ºÜÈÝÒ×£¬ÏîÄ¿¿ª·¢¸üÊǵÃÐÄÓ¦ÊÖ¡£¡£¡£
ѧϰ˳Ðò»ù±¾ÊÇ£º
»ù±¾Óï·¨------> ÀàÏà¹ØµÄÓï·¨-------> ÄÚ²¿ÀàµÄÓï·¨---------> ¼Ì³ÐÏà¹ØµÄÓï·¨-------> Òì³£µÄÓï·¨-------> Ï̵߳ÄÓï·¨------>¼¯ºÏµÄÓï·¨-------->  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ