1
0
Fork 0
forked from 0x2620/oxjs

rename Ox.UI source files, remove Ox. prefix

This commit is contained in:
j 2012-05-28 19:44:12 +00:00
commit 91e1065aab
101 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,35 @@
'use strict';
/*@
Ox.CalendarDate <f> CalendarDate
() -> <o> CalendarData object
(options) -> <o> CalendarData object
options <o> Options object
start <d> start date
stop <d> stop date
@*/
// fixme: unused
Ox.CalendarDate = function(options) {
var self = {},
that = this;
['start', 'stop'].forEach(function(v) {
var date = self.options[v];
if (Ox.isString(date)) {
date = new Date(self.options[v]);
}
});
self.duration = self.options.stop - self.options.start;
that.format = function() {
};
that.formatDuration = function() {
};
return that;
};