Create Project
This commit is contained in:
17
src/com/light/util/DelegateNow.java
Normal file
17
src/com/light/util/DelegateNow.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.light.util;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 获取当前时间的接口,有些设备不支持直接获取当前时间,需要调用API接口
|
||||
*
|
||||
* @author Light
|
||||
*
|
||||
*/
|
||||
public interface DelegateNow {
|
||||
/**
|
||||
* 返回当前时间
|
||||
* @return
|
||||
*/
|
||||
Date Execute();
|
||||
}
|
||||
Reference in New Issue
Block a user