摘要:
开始->运行->cmdnetsh interface tcp set global autotuninglevel=disabled 阅读全文
摘要:
1 String src = new String("ab43a2c43d"); 2 System.out.println(src.replace("3","f"));=>ab4f2c4fd. 3 System.out.println(src.replace('3','f'));=>ab4f2c4fd. 4 System.out.println(src.replaceAl... 阅读全文
摘要:
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。 timeout: 要求为Number类型的参数,设置请 阅读全文
摘要:
var dateFormatter:DateFormatter = new DateFormatter(); dateFormatter.formatString = 'YYYY-MM-DD JJ:NN:SS'; var nowData:String= dateFormatter.format(new Date()); 阅读全文
摘要:
1 package test; 2 3 import java.text.ParseException; 4 import java.text.SimpleDateFormat; 5 import java.util.Calendar; 6 import java.util.Date; 7 import java.util.TimeZone; 8 9 pu... 阅读全文