⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myelfunctions.java

📁 zk与jsp技术的整合。可以在jsp页面里面使用zk的组件。
💻 JAVA
字号:
/* MyELFunctions.java

{{IS_NOTE
	Purpose:
		
	Description:
		
	History:
		2008/3/19 2008, Created by Ian Tsai
}}IS_NOTE

Copyright (C) 2007 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under GPL Version 2.0 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.jspdemo.el;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Ian Tsai
 *
 */
public class MyELFunctions {
	
	private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss");
	/**
	 * This method is used to test xel-method.
	 * @param date
	 * @return
	 */
	public static String getDateString(Date date)
	{
		return FORMAT.format(date);
	}

}

⌨️ 快捷键说明

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