Class AjxDateUtil

Object
   |
   +--AjxDateUtil

class AjxDateUtil

Defined in AjxDateUtil.js


Field Summary
<static>  Object _12hour
          
<static>  Object _24hour
          
<static>  Object _daysPerMonth
          
<static>  Object DAY
          
<static>  Object FREQ_TO_DISPLAY
          
<static>  Object MONTH
          
<static>  Object MONTH_LONG
          
<static>  Object MONTH_MEDIUM
          
<static>  Object MONTH_SHORT
          
<static>  Object MSEC_PER_DAY
          
<static>  Object MSEC_PER_FIFTEEN_MINUTES
          
<static>  Object MSEC_PER_HALF_HOUR
          
<static>  Object MSEC_PER_HOUR
          
<static>  Object WEEK
          
<static>  Object WEEKDAY_LONG
          
<static>  Object WEEKDAY_MEDIUM
          
<static>  Object WEEKDAY_SHORT
          
<static>  Object YEAR
          
 
Constructor Summary
AjxDateUtil ()
           
 
Method Summary
<static> Object _getAMPM(date, upper)
          
<static> Object _getDate(date, pad)
          
<static> Object _getFullYear(date)
          
<static> Object _getHoursStr(date, pad, useMilitary)
          
<static> Object _getMinutesStr(date)
          
<static> Object _getMonth(date, pad)
          
<static> Object _getMonthName(date, abbreviated)
          
<static> Object _getSecondsStr(date)
          
<static> Object _getWeekday(date)
          
<static> void _init()
          
<static> Object _pad(n)
          
<static> Object computeDateDelta(dateMSec)
          
<static> Object computeDateStr(now, dateMSec)
          
<static> Object computeTimeString(date)
          
<static> Object daysInMonth(y, m)
          
<static> Object getRoundedMins(date, roundTo)
          
<static> Object getServerDate(date)
           The following are helper routines for processing server date/time which comes in this format: YYYYMMDDTHHMMSSZ
<static> Object getServerDateTime(date)
          
<static> Object getSimpleDateFormat()
          
<static> Object getTimeStr(date, format)
          
<static> Object isInRange(startTime1, endTime1, startTime2, endTime2)
          
<static> Object isLeapYear(y)
          
<static> Object longComputeDateStr(date)
          
<static> Object parseServerDateTime(serverStr)
          
<static> Object parseServerTime(serverStr, date)
          
<static> Object roll(date, field, offset)
           rolls the month/year.
<static> Object roundTimeMins(date, roundTo)
          
<static> Object simpleComputeDateStr(date, stringToPrepend)
          
<static> Object simpleComputeDateTimeStr(date, stringToPrepend)
          
<static> Object simpleParseDateStr(dateStr)
          
<static> Object simpleParseDateTimeStr(dateTimeStr)
          
<static> Object validDate(y, m, d)
          

Field Detail

_12hour

<static> Object _12hour

_24hour

<static> Object _24hour

_daysPerMonth

<static> Object _daysPerMonth

DAY

<static> Object DAY

FREQ_TO_DISPLAY

<static> Object FREQ_TO_DISPLAY

MONTH

<static> Object MONTH

MONTH_LONG

<static> Object MONTH_LONG

MONTH_MEDIUM

<static> Object MONTH_MEDIUM

MONTH_SHORT

<static> Object MONTH_SHORT

MSEC_PER_DAY

<static> Object MSEC_PER_DAY

MSEC_PER_FIFTEEN_MINUTES

<static> Object MSEC_PER_FIFTEEN_MINUTES

MSEC_PER_HALF_HOUR

<static> Object MSEC_PER_HALF_HOUR

MSEC_PER_HOUR

<static> Object MSEC_PER_HOUR

WEEK

<static> Object WEEK

WEEKDAY_LONG

<static> Object WEEKDAY_LONG

WEEKDAY_MEDIUM

<static> Object WEEKDAY_MEDIUM

WEEKDAY_SHORT

<static> Object WEEKDAY_SHORT

YEAR

<static> Object YEAR

Constructor Detail

AjxDateUtil

AjxDateUtil()

Method Detail

_getAMPM

<static> Object _getAMPM(date, upper)

_getDate

<static> Object _getDate(date, pad)

_getFullYear

<static> Object _getFullYear(date)

_getHoursStr

<static> Object _getHoursStr(date, pad, useMilitary)

_getMinutesStr

<static> Object _getMinutesStr(date)

_getMonth

<static> Object _getMonth(date, pad)

_getMonthName

<static> Object _getMonthName(date, abbreviated)

_getSecondsStr

<static> Object _getSecondsStr(date)

_getWeekday

<static> Object _getWeekday(date)

_init

<static> void _init()

_pad

<static> Object _pad(n)

computeDateDelta

<static> Object computeDateDelta(dateMSec)

computeDateStr

<static> Object computeDateStr(now, dateMSec)

computeTimeString

<static> Object computeTimeString(date)

daysInMonth

<static> Object daysInMonth(y, m)

getRoundedMins

<static> Object getRoundedMins(date, roundTo)

getServerDate

<static> Object getServerDate(date)

getServerDateTime

<static> Object getServerDateTime(date)

getSimpleDateFormat

<static> Object getSimpleDateFormat()

getTimeStr

<static> Object getTimeStr(date, format)

isInRange

<static> Object isInRange(startTime1, endTime1, startTime2, endTime2)

isLeapYear

<static> Object isLeapYear(y)

longComputeDateStr

<static> Object longComputeDateStr(date)

parseServerDateTime

<static> Object parseServerDateTime(serverStr)

parseServerTime

<static> Object parseServerTime(serverStr, date)

roll

<static> Object roll(date, field, offset)

roundTimeMins

<static> Object roundTimeMins(date, roundTo)

simpleComputeDateStr

<static> Object simpleComputeDateStr(date, stringToPrepend)

simpleComputeDateTimeStr

<static> Object simpleComputeDateTimeStr(date, stringToPrepend)

simpleParseDateStr

<static> Object simpleParseDateStr(dateStr)

simpleParseDateTimeStr

<static> Object simpleParseDateTimeStr(dateTimeStr)

validDate

<static> Object validDate(y, m, d)


Documentation generated by JSDoc on Thu Apr 27 13:58:41 2006