appoamimpl.java

来自「中兴公司在parlayx开发方面的培训文档」· Java 代码 · 共 21 行

JAVA
21
字号
package samples.fw;

public class AppOAMImpl 
	extends org.csapi.fw.fw_application.integrity.IpAppOAMPOA
{
    String fwDateAndTime;
	public AppOAMImpl(){}

  	/**
	* This method is used by the framework to send the system
	* date and time to an application.  The application responds with
	* its own date and time.
	*/
   	public String systemDateTimeQuery(String aFwDateAndTime)
	{
		java.util.Calendar cal = java.util.Calendar.getInstance();
		java.util.Date d = cal.getTime();
		fwDateAndTime = aFwDateAndTime;
		return d.toString();
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?