long examtime=DateUtil.getDateline();
1313494083
long examtime=DateUtil.getDateline()*1000L;
1313494083000
后面加个“L”,不加L就默认为int型的
int -2147483648~2147483647
long -9223372036854775808~9223372036854775807
byte,short, int ,long, double
8, 16, 32, 64, 64
long 报错
最新推荐文章于 2023-06-13 18:13:32 发布