Class PTDateUtil

Object
   |
   +--PTDateUtil

class PTDateUtil


Static class containing date utility methods.

Usage:	
 	PTDateUtil.isSameDay(date1, date2)
 

Defined in PTUtil.js


Field Summary
<static>  <final> Object VERSION
          
 
Constructor Summary
PTDateUtil ()
            PTDateUtil static object constructor
 
Method Summary
<static> String formatTime(sTime, iMode)
           Formats a date into a time format
<static> Number getDaysBetweenDates(date1, date2)
           Returns the number of days between the two dates.
<static> Boolean isSameDay(date1, date2)
           Determine if 2 datetimes occur on the same day
<static> Boolean validateDate(strDay, strMonth, strYear)
           Validates a date string

Field Detail

VERSION

<static> <final> Object VERSION

Constructor Detail

PTDateUtil

PTDateUtil()

Method Detail

formatTime

<static> String formatTime(sTime, iMode)

getDaysBetweenDates

<static> Number getDaysBetweenDates(date1, date2)

isSameDay

<static> Boolean isSameDay(date1, date2)

validateDate

<static> Boolean validateDate(strDay, strMonth, strYear)


Documentation generated by JSDoc on Wed Aug 24 10:17:38 2005