ZenMagick 0.9.6


org.zenmagick.rp.toolbox.defaults.ZMToolboxLocale

Class ZMToolboxLocale

ZMObject
|
+--ZMToolboxLocale

public class ZMToolboxLocale
extends ZMObject

Locale methods.

Author:
DerManoMann
Version:
$Id: ZMToolboxLocale.php 1966 2009-02-14 10:52:50Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Method Summary
string

shortDate(string date, boolean echo)

Format and display a date(time) using the configured ui date format (UI_DATE_FORMAT).

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Method Detail

shortDate

public string shortDate(string date, boolean echo)

Format and display a date(time) using the configured ui date format (UI_DATE_FORMAT).

Parameters:
date - The date.
echo - If true, the date will be echo'ed as well as returned.
Returns:
The formatted date.

ZenMagick 0.9.6