long 类型的长度
longl1=1275264977820;报错Multiplemarkersatthisline-Theliteral1273593600000oftypeintisou...
long l1=1275264977820;
报错
Multiple markers at this line
- The literal 1273593600000 of type int is out of
range
- Type mismatch: cannot convert from int to
Long
long范围不是-2^63~2^63-1,也就是10进制也就是18位长度,我这里才13位长度
然后long l3=new Date().getTime();没报错,但l3就是我上面写的数字,这是怎么回事 展开
报错
Multiple markers at this line
- The literal 1273593600000 of type int is out of
range
- Type mismatch: cannot convert from int to
Long
long范围不是-2^63~2^63-1,也就是10进制也就是18位长度,我这里才13位长度
然后long l3=new Date().getTime();没报错,但l3就是我上面写的数字,这是怎么回事 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询