TmeUnit

分转秒:

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