当前位置: 技术问答>java相关
我的String和Date之间的转换有问题,那位给我看看啊
来源: 互联网 发布时间:2015-11-05
本文导语: import java.util.*; import java.text.SimpleDateFormat; class Queue3 extends Vector { public static void main(String[] args) { String[] s={"20020809","20020810","20020811"}; Queue3 queue=new Queue3(s); String[] s1=new String[5]; Da...
import java.util.*;
import java.text.SimpleDateFormat;
class Queue3 extends Vector
{
public static void main(String[] args)
{
String[] s={"20020809","20020810","20020811"};
Queue3 queue=new Queue3(s);
String[] s1=new String[5];
Date[] dt=new Date[5];
for (int i=0;i
import java.text.SimpleDateFormat;
class Queue3 extends Vector
{
public static void main(String[] args)
{
String[] s={"20020809","20020810","20020811"};
Queue3 queue=new Queue3(s);
String[] s1=new String[5];
Date[] dt=new Date[5];
for (int i=0;i