亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? date.java

?? kaffe Java 解釋器語言,源碼,Java的子集系統,開放源代碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
	if (ch >= 'a' && ch <= 'z')	  ch -= 'a' - 'A';	if (ch == '(')	  parenNesting++;	else if (parenNesting == 0)	  buf.append(ch);	else if (ch == ')')	  parenNesting--;      }    int tmpMonth;    // Make all chars upper case to simplify comparisons later.    // Also ignore commas; treat them as delimiters.    StringTokenizer strtok = new StringTokenizer(buf.toString(), " \t\n\r,");    while (strtok.hasMoreTokens())      {	String tok = strtok.nextToken();	char firstch = tok.charAt(0);	if ((firstch == '+' || firstch == '-') && year >= 0)	  {	    timezone = parseTz(tok, firstch);	    localTimezone = false;	  }	else if (firstch >= '0' && firstch <= '9')	  {	    while (tok != null && tok.length() > 0)	      {		int punctOffset = tok.length();		int num = 0;		int punct;		for (int i = 0;  ;  i++)		  {		    if (i >= punctOffset)		      {			punct = -1;			break;		      }		    else		      {			punct = tok.charAt(i);			if (punct >= '0' && punct <= '9')			  {			    if (num > 999999999) // in case of overflow			      throw new IllegalArgumentException(tok);			    num = 10 * num + (punct - '0');			  }			else			  {			    punctOffset = i;			    break;			  }		      }		      		  }		if (punct == ':')		  {		    if (hour < 0)		      hour = num;		    else		      minute = num;		  }	        else if ((num >= 70			  && (punct == ' ' || punct == ','			      || punct == '/' || punct < 0))			 || (num < 70 && day >= 0 && month >= 0 && year < 0))		  {		    if (num >= 100)		      year = num;		    else		      {			int curYear = 1900 + new Date().getYear();			int firstYear = curYear - 80;			year = firstYear / 100 * 100 + num;			int yx = year;			if (year < firstYear)			  year += 100;		      }		  }		else if (punct == '/')		  {		    if (month < 0)		      month = num - 1;		    else		      day = num;		  }		else if (hour >= 0 && minute < 0)		  minute = num;		else if (minute >= 0 && second < 0)		  second = num;		else if (day < 0)		  day = num;		else		  throw new IllegalArgumentException(tok);		// Advance string if there's more to process in this token.		if (punct < 0 || punctOffset + 1 >= tok.length())		  tok = null;		else		  tok = tok.substring(punctOffset + 1);	      }	  }	else if (firstch >= 'A' && firstch <= 'Z')	  {	    if (tok.equals("AM"))	      {		if (hour < 1 || hour > 12)		  throw new IllegalArgumentException(tok);		if (hour == 12)		  hour = 0;	      }	    else if (tok.equals("PM"))	      {		if (hour < 1 || hour > 12)		  throw new IllegalArgumentException(tok);		if (hour < 12)		  hour += 12;	      }	    else if (parseDayOfWeek(tok))	      ; // Ignore it; throw the token away.	    else if (tok.equals("UT") || tok.equals("UTC") || tok.equals("GMT"))	      localTimezone = false;	    else if (tok.startsWith("UT") || tok.startsWith("GMT"))	      {		int signOffset = 3;		if (tok.charAt(1) == 'T' && tok.charAt(2) != 'C')		  signOffset = 2;	        char sign = tok.charAt(signOffset);		if (sign != '+' && sign != '-')		  throw new IllegalArgumentException(tok);	        timezone = parseTz(tok.substring(signOffset), sign);	        localTimezone = false;	      }	    else if ((tmpMonth = parseMonth(tok)) >= 0)	      month = tmpMonth;	    else if (tok.length() == 3 && tok.charAt(2) == 'T')	      {		// Convert timezone offset from hours to minutes.		char ch = tok.charAt(0);		if (ch == 'E')		  timezone = -5 * 60;		else if (ch == 'C')		  timezone = -6 * 60;		else if (ch == 'M')		  timezone = -7 * 60;		else if (ch == 'P')		  timezone = -8 * 60;		else		  throw new IllegalArgumentException(tok);		// Shift 60 minutes for Daylight Savings Time.		if (tok.charAt(1) == 'D')		  timezone += 60;		else if (tok.charAt(1) != 'S')		  throw new IllegalArgumentException(tok);	        localTimezone = false;	      }	    else	      throw new IllegalArgumentException(tok);	  }	else	  throw new IllegalArgumentException(tok);      }    // Unspecified hours, minutes, or seconds should default to 0.    if (hour < 0)      hour = 0;    if (minute < 0)      minute = 0;    if (second < 0)      second = 0;    // Throw exception if any other fields have not been recognized and set.    if (year < 0 || month < 0 || day < 0)      throw new IllegalArgumentException("Missing field");    // Return the time in either local time or relative to GMT as parsed.    // If no time-zone was specified, get the local one (in minutes) and    // convert to milliseconds before adding to the UTC.    GregorianCalendar cal      = new GregorianCalendar(year, month, day, hour, minute, second);    if (!localTimezone)      {	cal.set(Calendar.ZONE_OFFSET, timezone * 60 * 1000);	cal.set(Calendar.DST_OFFSET, 0);      }    return cal.getTimeInMillis();  }  /**   * @return the year minus 1900 represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.YEAR)   * instead.  Note about the 1900 difference in year.   */  public int getYear()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.YEAR) - 1900;  }  /**   * Sets the year to year minus 1900, not changing the other fields.   * @param year the year minus 1900.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.YEAR, year) instead.  Note about the 1900   * difference in year.     */  public void setYear(int year)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.YEAR, 1900 + year);    time = cal.getTimeInMillis();  }  /**   * @return the month represented by this date object (zero based).   * @deprecated Use Calendar instead of Date, and use get(Calendar.MONTH)   * instead.   */  public int getMonth()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.MONTH);  }  /**   * Sets the month to the given value, not changing the other fields.   * @param month the month, zero based.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.MONTH, month) instead.    */  public void setMonth(int month)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.MONTH, month);    time = cal.getTimeInMillis();  }  /**   * @return the day of month represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.DATE)   * instead.   */  public int getDate()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.DATE);  }  /**   * Sets the date to the given value, not changing the other fields.   * @param date the date.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.DATE, date) instead.    */  public void setDate(int date)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.DATE, date);    time = cal.getTimeInMillis();  }  /**   * @return the day represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.DAY_OF_WEEK)   * instead.   */  public int getDay()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    // For Calendar, Sunday is 1.  For Date, Sunday is 0.    return cal.get(Calendar.DAY_OF_WEEK) - 1;  }  /**   * @return the hours represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.HOUR_OF_DAY)   * instead.   */  public int getHours()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.HOUR_OF_DAY);  }  /**   * Sets the hours to the given value, not changing the other fields.   * @param hours the hours.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.HOUR_OF_DAY, hours) instead.    */  public void setHours(int hours)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.HOUR_OF_DAY, hours);    time = cal.getTimeInMillis();  }  /**   * @return the minutes represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.MINUTE)   * instead.   */  public int getMinutes()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.MINUTE);  }  /**   * Sets the minutes to the given value, not changing the other fields.   * @param minutes the minutes.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.MINUTE, minutes) instead.    */  public void setMinutes(int minutes)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.MINUTE, minutes);    time = cal.getTimeInMillis();  }  /**   * @return the seconds represented by this date object.   * @deprecated Use Calendar instead of Date, and use get(Calendar.SECOND)   * instead.   */  public int getSeconds()  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    return cal.get(Calendar.SECOND);  }  /**   * Sets the seconds to the given value, not changing the other fields.   * @param seconds the seconds.   * @deprecated Use Calendar instead of Date, and use   * set(Calendar.SECOND, seconds) instead.    */  public void setSeconds(int seconds)  {    Calendar cal = Calendar.getInstance();    cal.setTimeInMillis(time);    cal.set(Calendar.SECOND, seconds);    time = cal.getTimeInMillis();  }  /**   * Reads an Object from the stream.   */  private void readObject(java.io.ObjectInputStream input)    throws java.io.IOException, ClassNotFoundException  {    input.defaultReadObject();    time = input.readLong();  }  /**   * Writes an Object to the stream.   * @serialdata A long value representing the offset from the epoch   * in milliseconds.  This is the same value that is returned by the   * method getTime().   */  private void writeObject(java.io.ObjectOutputStream output)    throws java.io.IOException  {    output.defaultWriteObject();    output.writeLong(time);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区免费视频| 欧美在线观看18| 日韩专区一卡二卡| 日韩在线一二三区| 一级日本不卡的影视| 亚洲欧洲性图库| 日本一区二区久久| 中文字幕一区二区不卡| 亚洲欧洲成人自拍| 一区二区三区毛片| 亚洲高清视频的网址| 视频一区二区不卡| 蜜臀av亚洲一区中文字幕| 日韩在线播放一区二区| 久久精品国产一区二区三 | av网站免费线看精品| 成人一区在线看| 色婷婷综合久久| 欧美精品乱码久久久久久| 777欧美精品| 久久在线观看免费| 国产精品久久久久一区二区三区| 国产精品久久久久国产精品日日| 国产精品欧美久久久久无广告| 亚洲色图清纯唯美| 天天影视色香欲综合网老头| 国模冰冰炮一区二区| 成人av在线播放网址| 精品视频1区2区| 久久亚洲二区三区| 一区二区视频在线| 久久se精品一区精品二区| 成人免费电影视频| 欧美精品一二三| 国产精品视频yy9299一区| 一区二区免费在线| 久草中文综合在线| 色狠狠色狠狠综合| 久久久久久久性| 亚洲超碰精品一区二区| 成人午夜免费电影| 91精品啪在线观看国产60岁| 国产精品系列在线| 男人的j进女人的j一区| 99在线视频精品| 精品动漫一区二区三区在线观看| 亚洲乱码日产精品bd| 精品一区二区三区在线视频| 在线视频国内自拍亚洲视频| 久久久久久久久久电影| 亚洲成a人v欧美综合天堂 | 国产精品天美传媒| 日本欧美在线观看| 在线亚洲一区二区| 中日韩av电影| 国产一区二区三区黄视频| 欧美日韩在线亚洲一区蜜芽| 国产精品视频第一区| 国内成人自拍视频| 欧美一区二区三区白人| 亚洲午夜三级在线| 95精品视频在线| 久久久精品国产免大香伊| 另类小说色综合网站| 欧美精品 日韩| 夜夜亚洲天天久久| 91香蕉视频在线| 中文字幕一区不卡| 粗大黑人巨茎大战欧美成人| 久久久综合九色合综国产精品| 午夜久久电影网| 在线一区二区三区四区五区| 亚洲天堂福利av| 99久久99久久免费精品蜜臀| 国产精品美女久久久久久久| 国产精品综合二区| 久久婷婷国产综合精品青草| 精品一区二区免费视频| 亚洲精品在线三区| 国产乱人伦精品一区二区在线观看 | 久久综合成人精品亚洲另类欧美| 日韩影院精彩在线| 欧美乱熟臀69xxxxxx| 五月天精品一区二区三区| 欧美日韩中字一区| 视频一区二区三区中文字幕| 日韩一二在线观看| 精品一区在线看| 久久久www免费人成精品| 国产91精品入口| 毛片基地黄久久久久久天堂| 91精品国产91久久久久久最新毛片| 免费日本视频一区| 久久中文字幕电影| 成人精品免费网站| 亚洲综合在线电影| 91精品欧美久久久久久动漫| 精品无人码麻豆乱码1区2区| 久久你懂得1024| 91在线视频官网| 日韩在线观看一区二区| 精品日韩欧美在线| 99re热这里只有精品免费视频| 亚洲精选视频在线| 欧美电影免费观看高清完整版在线 | 亚洲视频1区2区| 717成人午夜免费福利电影| 久久99精品久久久久| 亚洲色图视频网| 欧美色窝79yyyycom| 久久精品国产99国产| 国产精品麻豆99久久久久久| 欧美日韩视频在线第一区| 国产在线精品一区二区三区不卡| 国产精品亲子伦对白| 欧美日本高清视频在线观看| 高清av一区二区| 爽爽淫人综合网网站 | 91一区在线观看| 久久国产欧美日韩精品| 亚洲蜜臀av乱码久久精品| 精品日韩成人av| 欧美日韩在线亚洲一区蜜芽| 成人午夜大片免费观看| 蜜臀久久99精品久久久久宅男| 国产精品久久久久久久久久久免费看 | 国产精品嫩草影院av蜜臀| 91精品国产黑色紧身裤美女| 99久久国产免费看| 国产一区二区电影| 日日夜夜免费精品| 亚洲免费观看高清完整版在线观看熊 | 国产人妖乱国产精品人妖| 777xxx欧美| 欧美少妇xxx| 在线一区二区三区做爰视频网站| 国产高清成人在线| 久久精品国产免费| 秋霞电影网一区二区| 亚洲午夜国产一区99re久久| 国产精品久久久久影院亚瑟| www国产精品av| 日韩欧美一级二级| 91精品国产欧美一区二区成人| 在线看国产一区| 91丝袜美腿高跟国产极品老师 | 亚洲一二三区视频在线观看| 国产精品欧美久久久久一区二区| 久久久精品日韩欧美| 精品国偷自产国产一区| 日韩欧美中文字幕公布| 这里只有精品电影| 91精品国产一区二区三区香蕉| 欧美片在线播放| 欧美日本在线看| 91精品国产一区二区三区 | 国产盗摄女厕一区二区三区 | 成人免费视频一区二区| 国产精品亚洲第一区在线暖暖韩国 | 久久精品视频免费| 亚洲影院久久精品| 一区二区三区在线免费| 亚洲一区二区在线免费观看视频| 亚洲影视在线播放| 偷拍亚洲欧洲综合| 久久精品国产99| 成人污视频在线观看| 99久久夜色精品国产网站| 色天天综合色天天久久| 欧美三级蜜桃2在线观看| 51精品秘密在线观看| 精品嫩草影院久久| 国产精品久久久久久久久晋中 | 91精品婷婷国产综合久久竹菊| 日韩一区二区三区av| 久久久午夜精品| 综合色天天鬼久久鬼色| 午夜在线电影亚洲一区| 精品一区二区三区在线播放| 国产精品影音先锋| 日本韩国一区二区三区| 日韩一区二区高清| 国产精品青草久久| 肉丝袜脚交视频一区二区| 国产成人在线视频播放| 91蜜桃免费观看视频| 日韩午夜三级在线| 日本一区二区视频在线| 亚洲成av人综合在线观看| 国产精品99久久久久久久vr | 成人高清伦理免费影院在线观看| 99re热视频这里只精品| 欧美一级搡bbbb搡bbbb| **欧美大码日韩| 免费在线一区观看| eeuss影院一区二区三区| 91精品国产综合久久精品性色| 国产精品午夜电影| 毛片不卡一区二区| 欧亚洲嫩模精品一区三区|