分转秒:
int DEFAULT_SESSION_TIMEOUT = (int) TmeUnit.MINUTES.toSeconds(30);
TmeUnit
原文:https://www.cnblogs.com/xiluhua/p/9734686.html