
VMAX DIGITAL CLOCK PRO

Usage Example

<APPLET CODE="vmaxdclockpro.class" CODEBASE="./" WIDTH=220 HEIGHT=80>
<PARAM NAME="BGCOLOR"       VALUE="ffffcc">
<PARAM NAME="BGIMAGE"       VALUE="db25.gif">
<PARAM NAME="TEXTCOLOR"     VALUE="000099">
<PARAM NAME="SHADOWCOLOR"   VALUE="999966">
<PARAM NAME="FONT"          VALUE="Dialog,1,12">
<PARAM NAME="URL"           VALUE="http://vmax.netfx.com">
<PARAM NAME="TARGET"        VALUE="_top">
<PARAM NAME="DAYS"          VALUE="Sun Mon Tue Wed Thu Fri Sat">
<PARAM NAME="MONTHS"        VALUE="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec">
<PARAM NAME="AMPMS"         VALUE="AM PM">
<PARAM NAME="AMPM"          VALUE="true">
<PARAM NAME="TIMEZONE"      VALUE="-360">
<PARAM NAME="DLSTSTART"     VALUE="Mar Last Sun 03:00">
<PARAM NAME="STANDARDSTART" VALUE="Oct Last Sun 03:00">
<PARAM NAME="DLSTBIAS"      VALUE="-60">
<PARAM NAME="STANDARDNAME"  VALUE="CST">
<PARAM NAME="DLSTNAME"      VALUE="CDT">
<PARAM NAME="FORMAT"        
    VALUE=" [HOUR]:[MIN]:[SEC] [AMPM]  [NAME]\n
              [WDAY], [MONTH],[DATE] [YEAR]\n
                 You opened this page at\n
              [SHOUR]:[SMIN]:[SSEC] [SAMPM]\n
                  [EMIN]min [ESEC]sec ago
  ">
<PARAM NAME="AUTHOR"        VALUE="Virtual_Max (http://vmax.netfx.com)">
<PARAM NAME="KEY"           VALUE="Please, Register...">
</APPLET>

Parameters 
 
BGCOLOR, TEXTCOLOR, SHADOWCOLOR
		All colors are in hexadecimal format RRGGBB, same as html 
		hexadecimal colors but without # radix simbol. Shadow color 
		is optional. Default values will be used if any parameter is 
		TEXTCOLOR is 000000 (black).  Shadow won't be drawn if 
		parameter is omited
 
BGIMAGE		(optional) URL of image for applet background, relative to 
		CODEBASE, if this image size is less than applet size it 
		will be tiled. Please, use non-interlaced gif images only. 
		If omited solid background fill with BGCOLOR will be used
 
FONT		Font parameter includes following fields separated with 
		commas: FontName,FontStyle,FontSize 
		
		FontName Can be one of the following platform independent 
		fonts, supported by Java: dialog, inputDialog, Helvetica, 
		Courier, TimesRoman 

                FontStyle Integer number: 0-plain, 1-bold, 2-italics and 
		3-bold italics 

                FontSize Integer number, fint size in pixels
 
URL		Optional URL of file to be opened on mouse click in applet 
		area. Registered version only. Unregistered version will 
		always link back to VMax site. URL is relative to 
		DocumentBase.
 
TARGET		Target window name to open page on mouse click in applet. 
		This can be framename as defined in frameset in NAME 
		attribute of frame tag, or one of pre-defined values: _top,
		_self, _parent or  _blank. If omited default value is _self 
 
DAYS		7 days names, separated with space character. One can omit 
		this parameter the defaults will be used, but if you need 
		to redefine this string representations of week days names 
		you can do it with this parameter. (optional)
 
MONTHS		12 names for months (optional)
 
AMPMS		Two words separated with space character to use for AMPM 
		field (optional)
 
AMPM		Define if you want to use 24 hours mode or 12 hours mode, 
		Can be "true" or "false"
 
TIMEZONE	Your standard timezone offset in minutes  For example, for 
		GMT:-6:00 timezone use "-360"
 
DLSTSTART	DayLight time start date rule. (Transition date from Standard 
		time to DLST time) Applet parses string considering it have 
		the following format: "Mon DD modifier WDay HH:MM"  Where Mon
		is three letter Months abbreviations (obligatory) DD 
		(optional) is transition day of the month Modifier (optional) 
		is optional keyword, one of the following: first, second, 
		third, fourth or last. WDay  (optional) 3 letters 
		abbreviation of weekday. HH:MM is transition time 
		(obligatory)  

                Please use the same months and weekdays names for Mon and 
		WDay as ones you defined with MONTHS and DAYS params. 

                All above params are in terms of server local standard time 
		(not including DLST).  

                Some examples:  

                "May 1 02:00" transition at 02:00 of May,1  

                "Apr Last Sun 03:00 " transition at Last sunday of April at 
		03:00  

                "Oct First Sat 03:00" transition at first Satturday of 
		October 
 
STANDARDSTART	Standard Time start date, same syntax as above (Transition 
		date from  DLST time to Standard time) 
 
DLSTBIAS	DLST bias in minutes, most zimezones have it "-60", ( one 
		hour ahead )
 
STANDARDNAME	format parameter [NAME] field will be replaced with value of 
		this parameter to indicate standard time
 
DLSTNAME	format parameter [NAME] field will be replaced with value of 
		this parameter to indicate DLST time
 
FORMAT		Output format string. Applet get this string and rplace all 
		special keywords in [..] with actual values of the dates 
		objects. One can include various components of current date, 
		page loading date (timestamp ) and elapsed time since applet
		start  

                Some format examples: 

                Simple clock: "[HOUR]:[MIN]:[SEC] [AMPM]" "[HOUR]:[MIN]:[SEC]
		[AMPM]\n [MONTH],[DATE] [YEAR]" 
                                      
		Timestamp (3 lines) "You come to this page at\n [SHOUR]:
		[SMIN]:[SSEC] [SAMPM]\n This happens on [SMONTH],[SDATE] 
		[SYEAR]" 
                                           
		Elapsed Time Dispaly(single line) "You spend  [EMIN]min 
		[ESEC]sec staring at this page" 
                                                          
		More complicated example: Exactly as it's shown at the top 
		of the page "[HOUR]:[MIN]:[SEC] [AMPM]  [NAME]\n [WDAY], 
		[MONTH],[DATE] [YEAR]\n You opened this page at\n [SHOUR]:
		[SMIN]:[SSEC] [SAMPM]\n [EMIN]min [ESEC]sec ago" 

                Hope, now you see that format is quite flexible to create any 
		clock you like, Just write any strings you would like to see 
		and place following keywords instead of actual date elements 

                Current time fields keywords are: [HOUR], [MIN], [SEC], 
		[WDAY], [MONTH], [DATE], [YEAR], [NAME], [AMPM] 

               	Applet start time fields : in case one would like to use 
		applet to show page loading timestamp [SHOUR], [SMIN], 
                [SSEC], [SWDAY], [SMONTH], [SDATE], [SYEAR], [SNAME], [SAMPM] 

               	Elapsed time fields: In case one would like to show visitors 
		how much time they spend at your page [EHOUR], [EMIN], [ESEC] 

                One can use \n characters to create multiple lines format 
                    
KEY		Obligatory parameter. Applet can be used absolutly free with 
		KEY "Free Version". Free version of the applet ignore URL 
		parameter and  link back to VMax site. If you want to get 
		rid of this, please register.
 
AUTHOR		Obligatory parameter don't alter it's value  Virtual_Max 
		(http://come.to.vmax)
  