猿问
java SimpleDateFormat 的parse(String text,Parse
这个方法到底是干嘛的?怎么用?
pos = new ParsePosition(8)
知道是解析时间,但是pos的作用是什么
德玛西亚99
浏览 559
回答 1
1回答
呼如林
The method attempts to parse text starting at the index given by pos. 就是类似先把给的字符串从ParsePosition对象的index开始截取,然后对截取的字符串parse
0
0
0
随时随地看视频
慕课网APP
相关分类
Java
我要回答