See
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or
browse all packages.
See also
Developing plugins,
Developer's Bible,
Technical Overview
internal package
Foswiki::Plugins::DateManipPlugin::Core
core class for this plugin
an singleton instance is allocated on demand
ClassMethod
new() → $core
constructor for a Core object
ObjectMethod
finish()
called when this object is destroyed
ObjectMethod
DATETIME($params, $topic, $web) → $string
implements the %DATETIME macro
ObjectMethod
DURATION($params, $topic, $web) → $string
implements the %DURATION macro
ObjectMethod
RECURRENCE($params, $topic, $web) → $string
implements the %RECURRENCE macro
This method is monkey-patched into the
Foswiki::Time package.
ObjectMethod
compatParseTime($string, $defaultLocal, $params)
This method is monkey-patched into the
Foswiki::Time package.
ObjectMethod
getSecondsOfUnit($isBusiness, $unit) → $secs
ObjectMethod
delta2sec($delta, $isBusiness) → $secs
ObjectMethod
getLang($params) → $lang
ObjectMethod
getRecurrence($params) → $recur
returns a Date::Manip::Recur object for the given params
ObjectMethod
getDate($params) → $date
returns a Date::Manip::Date object for the given params
ObjectMethod
getDelta($params) → $delta
returns a Date::Manip::Delta object for the given params
ObjectMethod
getObject($type, $params) → $obj
returns a Date::Manip::Object object of the given type and params