public class Now extends CustomTag
name | description | default |
timestamp_format | SimpleDateFormat format string | "yyyy/MM/dd HH:mm:ss" |
format | SimpleDateFormat format string | same as timestamp_format |
offset | offset "days" / "months" / "years", e.g. 30days | none |
BR, df, END_TAG_CHAR, NullParamValue, params, subelements, TAG_CLOSE_CHAR, TAG_OPEN_CHAR
C_BACKSLASH, C_BLOCK_CLOSE, C_BLOCK_OPEN, C_COMMA, C_CR, C_DOUBLE_BYTE_SPACE, C_DOUBLE_QUATATION, C_DOUBLE_QUOTATION, C_EQUAL, C_HYPHEN, C_LF, C_SINGLE_QUATATION, C_SINGLE_QUOTATION, C_SPACE, C_TAB, S_BACKSLASH, S_BLOCK_CLOSE, S_BLOCK_OPEN, S_COMMA, S_CR, S_CRLF, S_DOUBLE_QUATATION, S_DOUBLE_QUOTATION, S_EQUAL, S_HYPHEN, S_LF, S_SINGLE_QUATATION, S_SINGLE_QUOTATION, S_SPACE, S_TAB
コンストラクタと説明 |
---|
Now() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
init()
Load attributes.
|
java.lang.String |
toHTML()
Creates and returns a timestamp with the time when this method is called.
|
getAliasName, getAttribute, getAttribute, getAttributeAsTemplate, getAttributeNames, getBooleanAttribute, getBooleanAttribute, getContent, getContentAsTemplate, getDoFilter, getInsertionTagInstance, getInstance, getInstance, getIntAttribute, getIntAttribute, getLongAttribute, getLongAttribute, getName, getRequiredAttribute, getShortAttribute, getShortAttribute, getTagName, getTypeName, setDoFilter
addSubElement, addSubElement, addSubElement, addSubElement, clone, getBooleanParameter, getBooleanParameter, getDecimalFormat, getIndex, getIntParameter, getIntParameter, getLongParameter, getLongParameter, getMimeType, getOmitClosingTag, getParameter, getParameter, getParameters, getParent, getParentTemplateTimezone, getSubElements, getVersion, removeAllSubElements, removeParameter, setMimeType, setOmitClosingTag, setParameter, setParameter, setParameter, setParameter, setParameters, setParameters, setParent, setSubElement, setSubElement, setSubElements, toString
debug, debug, equals_n, equals_n2, getBooleanProperty, getBooleanProperty, getGroupedProperties, getIntProperty, getIntProperty, getLog, getLongProperty, getLongProperty, getProperties, getPropertiesForMe, getProperty, getProperty, getShortProperty, getShortProperty, setLog, setNgmObject, setProperties, sysoutprintln
public void init()
init
クラス内 CustomTag
CustomTag.init()
public java.lang.String toHTML()
toHTML
クラス内 CustomTag
HTMLComponent.toHTML()