Class Index | File Index

Classes


Class Alfresco.thirdparty

Alfresco top-level thirdparty namespace.
Used for importing third party javascript functions
Defined in: alfresco.js
Method Summary
Method Attributes Method Name and Description
<static>  
Alfresco.thirdparty.dateFormat()
Format a date object to a user-specified mask
<static>  
Alfresco.thirdparty.fromISO8601(formattedString)
Converts an ISO8601-formatted date into a JavaScript native Date object
<static>  
Alfresco.thirdparty.toISO8601(dateObject, options)
Converts a JavaScript native Date object into a ISO8601-formatted string
Method Detail
<static> {string} Alfresco.thirdparty.dateFormat()
Format a date object to a user-specified mask
Modified to retrieve i18n strings from Alfresco.messages

Original code:
Date Format 1.1
(c) 2007 Steven Levithan <stevenlevithan.com>
MIT license
With code by Scott Trenda (Z and o flags, and enhanced brevity)

http://blog.stevenlevithan.com/archives/date-time-format
Returns:
{string}

<static> {Date|null} Alfresco.thirdparty.fromISO8601(formattedString)
Converts an ISO8601-formatted date into a JavaScript native Date object

Original code:
dojo.date.stamp.fromISOString
Copyright (c) 2005-2008, The Dojo Foundation
All rights reserved.
BSD license (http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE)
Parameters:
{string} formattedString
ISO8601-formatted date string
Returns:
{Date|null}

<static> {string} Alfresco.thirdparty.toISO8601(dateObject, options)
Converts a JavaScript native Date object into a ISO8601-formatted string

Original code:
dojo.date.stamp.toISOString
Copyright (c) 2005-2008, The Dojo Foundation
All rights reserved.
BSD license (http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE)
Parameters:
{Date} dateObject
JavaScript Date object
{object} options
Optional conversion options
zulu = true|false
selector = "time|date"
milliseconds = true|false
Returns:
{string}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:27 GMT-0000 (GMT)