ZeroHour

Version 2.5

Wasting Bandwidth Software

Contents

Licensing
Support
New Features in 2.5
Installing ZeroHour
ZeroHour Parameters  
MONTH DAY
YEAR HOUR
MINUTE SECOND
TIMEZONE MESSAGE
OUTPUT COUNTUP
TEXTCOLOR BACKCOLOR
PREMESSAGE POSTMESSAGE
BOLD ITALICS
SIZE FONT
Timezone Chart
Other Stuff


Licensing

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Back


Support

Questions can be posted in the support forum and will be answered as time permits.

Back


New Features in 2.5

Back


Installing ZeroHour

  1. Unzip ZeroHour into a directory of your choice.  You should have the following files:
    1. ZeroHour.jar  -- ZeroHour compressed class files
    2. README.htm -- Installation Instructions (you are here)
    3. COPYING.txt -- Software license information
    4. Sample.htm -- Sample ZeroHour HTML file
  2. Copy the ZeroHour.jar file to your web server.
  3. Using your favorite HTML editor, add the following code:

    <applet width="300" height="15" codebase = "." code="ZeroHour.class" archive = "ZeroHour.jar" alt="Java 1.4 is required to view this applet">

    <PARAM NAME = "MONTH" VALUE = "">
    <PARAM NAME = "DAY" VALUE = "">
    <PARAM NAME = "YEAR" VALUE = "">
    <PARAM NAME = "HOUR" VALUE = "">
    <PARAM NAME = "MINUTE" VALUE = "">
    <PARAM NAME = "SECOND" VALUE = "">
    <PARAM NAME = "MESSAGE" VALUE = "">
    <PARAM NAME = "OUTPUT" VALUE = "">

    </applet>

    For width and height settings:

     

    use width = "300", height = "15" for the full display

    use width = "100", height = "15" for the digital countdown display.

     

    *if using the PREMESSAGE or POSTMESSAGE parameters, increase the "width" setting accordingly.

          For codebase, input the path to the jar file. 

If the jar file is located in the /class directory, and the html file is located one level above, then the codebase parameter would look like this: codebase = "./class"

 

For code, input the name of the class file.

 

In this case, the class file will always be "ZeroHour.class".  Be sure to capitalize the "Z" and the "H" as it is case sensitive.

 

For archive, type the name of the Java archive file.

 

In this case, the archive file will always be ZeroHour.jar.  Be sure to capitalize the "Z" and the "H" as it is case sensitive.

 

For alt, type in the message visitors will see if they do not have the correct Java plug-in.

 

For PARAM NAME = configure your target date and other preferences here.  Additional parameters may be supplied by adding additional PARAM NAME = lines.  Click here for a complete list of parameters available.

 

 

 

Note:  ZeroHour requires Java plug-in version 1.4x.  If you wish to configure the applet webpage to prompt the user to download the plug-in, use the following HTML code:

 

 

<OBJECT classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase
="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0" WIDTH = "300" HEIGHT
= "15" ALIGN = "middle" HSPACE = "0" >
<PARAM NAME = CODE VALUE = "ZeroHour.class" >
<PARAM NAME = ARCHIVE VALUE = "ZeroHour.jar" >
<PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.4">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "MONTH" VALUE = "">
<PARAM NAME = "DAY" VALUE = "">
<PARAM NAME = "YEAR" VALUE = "">
<PARAM NAME = "HOUR" VALUE = "">
<PARAM NAME = "MINUTE" VALUE = "">
<PARAM NAME = "SECOND" VALUE = "">
</OBJECT>

Back


ZeroHour Parameters


 MONTH = Target month. (1-12) are valid MONTHS.
 "1" = January
 "2" = February
 "3" = March
 "4" = April
 "5" = May
 "6" = June
 "7" = July
 "8" = August
 "9" = September
 "10" = October
 "11" = November
 "12" = December
 If the MONTH parameter is omitted, it will default to "January". Back

 DAY = Target day. (1-31) are valid DAYs, with a few exceptions.
 "1"-"31" = January, March, May, July, August, October, December
 "1"-"30" = April, June, September, November
 "1"-"28" = February
 "1"-"29" = February (only on a leap year)
 If the DAY parameter is omitted, it will default to "1". Back

 YEAR = Target year.
 If the YEAR parameter is omitted, it will default to "3000". Back

 HOUR = Target hour. (0-23) are the valid HOURs.
 If the HOUR parameter is omitted, it will default to "0". Back

 MINUTE = Target minute. (0-59) are the valid MINUTEs.
 If the MINUTE parameter is omitted, it will default to "0". Back

 SECOND = Target second. (0-59) are the valid SECONDs.
 If the SECOND parameter is omitted, it will default to "0". Back

TIMEZONE = Target time zone. For example, if the countdown event occurrs in the U.S. Eastern
 time zone, you would use "America/New_York".  See the time zone chart here
 If the time zone parameter is omitted, it will default the time zone of the client machine. Back

 MESSAGE = Message to be displayed at the end of the countdown.
 Omitting this field will leave the counter display showing all zeros. (default)
 Make sure the message will fit in the space allotted for the applet. Back

 OUTPUT = Type of countdown displayed.
 "0" = full years, days, hours, minutes, seconds display (default)
 "1" = same as above except years, days, hours, and minutes are removed once they have reached zero.
 "2" = digital countdown display Back

 COUNTUP = if enabled, the countdown timer will begin counting up once the target date has been
 reached.
 "0" = disabled (default)
 "1" = enabled Back

 TEXTCOLOR = Countdown text color.
 See BACKCOLOR for available options.
 BLACK is the default text color. Back

 BACKCOLOR = Countdown background color
 GRAY is the default background color.
 The following color options are available for both the TEXTCOLOR and BACKCOLOR parameters:
 "1" = RED
 "2" = BLUE
 "3" = GREEN
 "4" = YELLOW
 "5" = ORANGE
 "6" = WHITE
 "7" = BLACK>
It is also possible to pass six digit hexadecimal RGB values.  For example, if you want the background color to be purple, you would enter the following value "a020f0".  For an RGB color chart, use the following link: http://www.google.com/search?hl=en&ie=UTF-8&q=rgb+color+chart    Back

PREMESSAGE = Displays text to the left of the countdown clock.  This setting is only valid when the OUTPUT setting is set to either "0" or "1".
If PREMESSAGE is omitted, it will default to " ". (blank space). Back

POSTMESSAGE =  Displays text to the right of the countdown clock.  This setting is only valid when the OUTPUT setting is set to either "0" or "1".
If POSTMESSAGE is omitted, it will default to " ". (blank space). Back

BOLD = Displays the display text in bold.
"0" = disabled (default)
"1" = enabled Back

ITALICS = Displays the display text in italics.
"0" = disabled (default)
"1" = enabled Back

SIZE = Sets the size of the display text.
Valid settings are 1 - 50. Back

FONT = Specifies the display text font. The font file must be a truetype font.
This parameter must be entered as a URL to the font desired. Example: http://www.mywasteofbandwidth.com/zerohour/scooby.ttf  Back


Timezone Chart

GMT +/- x

Timezone

12

Etc/GMT+12

-11

Etc/GMT+11

-11

MIT

-11

Pacific/Apia

-11

Pacific/Midway

-11

Pacific/Niue

-11

Pacific/Pago_Pago

-11

Pacific/Samoa

-11

US/Samoa

-10

America/Adak

-10

America/Atka

-10

Etc/GMT+10

-10

HST

-10

Pacific/Fakaofo

-10

Pacific/Honolulu

-10

Pacific/Johnston

-10

Pacific/Rarotonga

-10

Pacific/Tahiti

-10

SystemV/HST10

-10

US/Aleutian

-10

US/Hawaii

-9.5

Pacific/Marquesas

-9

AST

-9

America/Anchorage

-9

America/Juneau

-9

America/Nome

-9

America/Yakutat

-9

Etc/GMT+9

-9

Pacific/Gambier

-9

SystemV/YST9

-9

SystemV/YST9YDT

-9

US/Alaska

-8

America/Dawson

-8

America/Ensenada

-8

America/Los_Angeles

-8

America/Tijuana

-8

America/Vancouver

-8

America/Whitehorse

-8

Canada/Pacific

-8

Canada/Yukon

-8

Etc/GMT+8

-8

Mexico/BajaNorte

-8

PST

-8

PST8PDT

-8

Pacific/Pitcairn

-8

SystemV/PST8

-8

SystemV/PST8PDT

-8

US/Pacific

-8

US/Pacific-New

-7

America/Boise

-7

America/Cambridge_Bay

-7

America/Chihuahua

-7

America/Dawson_Creek

-7

America/Denver

-7

America/Edmonton

-7

America/Hermosillo

-7

America/Inuvik

-7

America/Mazatlan

-7

America/Phoenix

-7

America/Shiprock

-7

America/Yellowknife

-7

Canada/Mountain

-7

Etc/GMT+7

-7

MST

-7

MST7MDT

-7

Mexico/BajaSur

-7

Navajo

-7

PNT

-7

SystemV/MST7

-7

SystemV/MST7MDT

-7

US/Arizona

-7

US/Mountain

-6

America/Belize

-6

America/Cancun

-6

America/Chicago

-6

America/Costa_Rica

-6

America/El_Salvador

-6

America/Guatemala

-6

America/Managua

-6

America/Menominee

-6

America/Merida

-6

America/Mexico_City

-6

America/Monterrey

-6

America/North_Dakota/Center

-6

America/Rainy_River

-6

America/Rankin_Inlet

-6

America/Regina

-6

America/Swift_Current

-6

America/Tegucigalpa

-6

America/Winnipeg

-6

CST

-6

CST6CDT

-6

Canada/Central

-6

Canada/East-Saskatchewan

-6

Canada/Saskatchewan

-6

Chile/EasterIsland

-6

Etc/GMT+6

-6

Mexico/General

-6

Pacific/Easter

-6

Pacific/Galapagos

-6

SystemV/CST6

-6

SystemV/CST6CDT

-6

US/Central

-5

America/Bogota

-5

America/Cayman

-5

America/Detroit

-5

America/Eirunepe

-5

America/Fort_Wayne

-5

America/Grand_Turk

-5

America/Guayaquil

-5

America/Havana

-5

America/Indiana/Indianapolis

-5

America/Indiana/Knox

-5

America/Indiana/Marengo

-5

America/Indiana/Vevay

-5

America/Indianapolis

-5

America/Iqaluit

-5

America/Jamaica

-5

America/Kentucky/Louisville

-5

America/Kentucky/Monticello

-5

America/Knox_IN

-5

America/Lima

-5

America/Louisville

-5

America/Montreal

-5

America/Nassau

-5

America/New_York

-5

America/Nipigon

-5

America/Panama

-5

America/Pangnirtung

-5

America/Port-au-Prince

-5

America/Porto_Acre

-5

America/Rio_Branco

-5

America/Thunder_Bay

-5

Brazil/Acre

-5

Canada/Eastern

-5

Cuba

-5

EST

-5

EST5EDT

-5

Etc/GMT+5

-5

IET

-5

Jamaica

-5

SystemV/EST5

-5

SystemV/EST5EDT

-5

US/East-Indiana

-5

US/Eastern

-5

US/Indiana-Starke

-5

US/Michigan

-4

America/Anguilla

-4

America/Antigua

-4

America/Aruba

-4

America/Asuncion

-4

America/Barbados

-4

America/Boa_Vista

-4

America/Caracas

-4

America/Cuiaba

-4

America/Curacao

-4

America/Dominica

-4

America/Glace_Bay

-4

America/Goose_Bay

-4

America/Grenada

-4

America/Guadeloupe

-4

America/Guyana

-4

America/Halifax

-4

America/La_Paz

-4

America/Manaus

-4

America/Martinique

-4

America/Montserrat

-4

America/Port_of_Spain

-4

America/Porto_Velho

-4

America/Puerto_Rico

-4

America/Santiago

-4

America/Santo_Domingo

-4

America/St_Kitts

-4

America/St_Lucia

-4

America/St_Thomas

-4

America/St_Vincent

-4

America/Thule

-4

America/Tortola

-4

America/Virgin

-4

Antarctica/Palmer

-4

Atlantic/Bermuda

-4

Atlantic/Stanley

-4

Brazil/West

-4

Canada/Atlantic

-4

Chile/Continental

-4

Etc/GMT+4

-4

PRT

-4

SystemV/AST4

-4

SystemV/AST4ADT

-3.5

America/St_Johns

-3.5

CNT

-3.5

Canada/Newfoundland

-3

AGT

-3

America/Araguaina

-3

America/Belem

-3

America/Buenos_Aires

-3

America/Catamarca

-3

America/Cayenne

-3

America/Cordoba

-3

America/Fortaleza

-3

America/Godthab

-3

America/Jujuy

-3

America/Maceio

-3

America/Mendoza

-3

America/Miquelon

-3

America/Montevideo

-3

America/Paramaribo

-3

America/Recife

-3

America/Rosario

-3

America/Sao_Paulo

-3

BET

-3

Brazil/East

-3

Etc/GMT+3

-2

America/Noronha

-2

Atlantic/South_Georgia

-2

Brazil/DeNoronha

-2

Etc/GMT+2

-1

America/Scoresbysund

-1

Atlantic/Azores

-1

Atlantic/Cape_Verde

-1

Etc/GMT+1

0

Africa/Abidjan

0

Africa/Accra

0

Africa/Bamako

0

Africa/Banjul

0

Africa/Bissau

0

Africa/Casablanca

0

Africa/Conakry

0

Africa/Dakar

0

Africa/El_Aaiun

0

Africa/Freetown

0

Africa/Lome

0

Africa/Monrovia

0

Africa/Nouakchott

0

Africa/Ouagadougou

0

Africa/Sao_Tome

0

Africa/Timbuktu

0

America/Danmarkshavn

0

tlantic/Canary

0

tlantic/Faeroe

0

tlantic/Madeira

0

Atlantic/Reykjavik

0

Atlantic/St_Helena

0

ire

0

Etc/GMT

0

Etc/GMT+0

0

Etc/GMT-0

0

Etc/GMT0

0

Etc/Greenwich

0

Etc/UCT

0

Etc/UTC

0

Etc/Universal

0

Etc/Zulu

0

urope/Belfast

0

urope/Dublin

0

urope/Lisbon

0

urope/London

0

B

0

B-Eire

0

GMT

0

GMT0

0

Greenwich

0

Iceland

0

ortugal

0

UCT

0

UTC

0

Universal

0

ET

0

Zulu

1

Africa/Algiers

1

Africa/Bangui

1

Africa/Brazzaville

1

frica/Ceuta

1

Africa/Douala

1

Africa/Kinshasa

1

Africa/Lagos

1

Africa/Libreville

1

Africa/Luanda

1

Africa/Malabo

1

Africa/Ndjamena

1

Africa/Niamey

1

Africa/Porto-Novo

1

Africa/Tunis

1

frica/Windhoek

1

rctic/Longyearbyen

1

tlantic/Jan_Mayen

1

ET

1

CT

1

Etc/GMT-1

1

urope/Amsterdam

1

urope/Andorra

1

urope/Belgrade

1

urope/Berlin

1

urope/Bratislava

1

urope/Brussels

1

urope/Budapest

1

urope/Copenhagen

1

urope/Gibraltar

1

urope/Ljubljana

1

urope/Luxembourg

1

urope/Madrid

1

urope/Malta

1

urope/Monaco

1

urope/Oslo

1

urope/Paris

1

urope/Prague

1

urope/Rome

1

urope/San_Marino

1

urope/Sarajevo

1

urope/Skopje

1

urope/Stockholm

1

urope/Tirane

1

urope/Vaduz

1

urope/Vatican

1

urope/Vienna

1

urope/Warsaw

1

urope/Zagreb

1

urope/Zurich

1

ET

1

oland

2

RT

2

Africa/Blantyre

2

Africa/Bujumbura

2

frica/Cairo

2

Africa/Gaborone

2

Africa/Harare

2

Africa/Johannesburg

2

Africa/Kigali

2

Africa/Lubumbashi

2

Africa/Lusaka

2

Africa/Maputo

2

Africa/Maseru

2

Africa/Mbabane

2

Africa/Tripoli

2

sia/Amman

2

sia/Beirut

2

sia/Damascus

2

sia/Gaza

2

sia/Istanbul

2

sia/Jerusalem

2

sia/Nicosia

2

sia/Tel_Aviv

2

CAT

2

ET

2

gypt

2

Etc/GMT-2

2

urope/Athens

2

urope/Bucharest

2

urope/Chisinau

2

urope/Helsinki

2

urope/Istanbul

2

urope/Kaliningrad

2

urope/Kiev

2

urope/Minsk

2

urope/Nicosia

2

urope/Riga

2

urope/Simferopol

2

urope/Sofia

2

Europe/Tallinn

2

urope/Tiraspol

2

urope/Uzhgorod

2

Europe/Vilnius

2

urope/Zaporozhye

2

srael

2

Libya

2

urkey

3

Africa/Addis_Ababa

3

Africa/Asmera

3

Africa/Dar_es_Salaam

3

Africa/Djibouti

3

Africa/Kampala

3

Africa/Khartoum

3

Africa/Mogadishu

3

Africa/Nairobi

3

Antarctica/Syowa

3

Asia/Aden

3

sia/Baghdad

3

Asia/Bahrain

3

Asia/Kuwait

3

Asia/Qatar

3

Asia/Riyadh

3

EAT

3

Etc/GMT-3

3

urope/Moscow

3

Indian/Antananarivo

3

Indian/Comoro

3

Indian/Mayotte

3

#NAME?

3.117

7778 Asia/Riyadh87

3.117

7778 Asia/Riyadh88

3.117

7778 Asia/Riyadh89

3.117

7778 Mideast/Riyadh87

3.117

7778 Mideast/Riyadh88

3.117

7778 Mideast/Riyadh89

3.5

sia/Tehran

3.5

ran

4

sia/Aqtau

4

sia/Baku

4

Asia/Dubai

4

Asia/Muscat

4

sia/Oral

4

sia/Tbilisi

4

sia/Yerevan

4

Etc/GMT-4

4

urope/Samara

4

Indian/Mahe

4

Indian/Mauritius

4

Indian/Reunion

4

ET

4.5

Asia/Kabul

5

sia/Aqtobe

5

Asia/Ashgabat

5

Asia/Ashkhabad

5

sia/Bishkek

5

Asia/Dushanbe

5

Asia/Karachi

5

Asia/Samarkand

5

Asia/Tashkent

5

sia/Yekaterinburg

5

Etc/GMT-5

5

Indian/Kerguelen

5

Indian/Maldives

5

PLT

5.5

Asia/Calcutta

5.5

IST

5.75

Asia/Katmandu

6

Antarctica/Mawson

6

Antarctica/Vostok

6

sia/Almaty

6

Asia/Colombo

6

Asia/Dacca

6

Asia/Dhaka

6

sia/Novosibirsk

6

sia/Omsk

6

sia/Qyzylorda

6

Asia/Thimbu

6

Asia/Thimphu

6

BST

6

Etc/GMT-6

6

Indian/Chagos

6.5

Asia/Rangoon

6.5

Indian/Cocos

7

Antarctica/Davis

7

Asia/Bangkok

7

sia/Hovd

7

Asia/Jakarta

7

sia/Krasnoyarsk

7

Asia/Phnom_Penh

7

Asia/Pontianak

7

Asia/Saigon

7

Asia/Vientiane

7

Etc/GMT-7

7

Indian/Christmas

7

VST

8

Antarctica/Casey

8

Asia/Brunei

8

Asia/Chongqing

8

Asia/Chungking

8

Asia/Harbin

8

Asia/Hong_Kong

8

sia/Irkutsk

8

Asia/Kashgar

8

Asia/Kuala_Lumpur

8

Asia/Kuching

8

Asia/Macao

8

Asia/Macau

8

Asia/Makassar

8

Asia/Manila

8

Asia/Shanghai

8

Asia/Singapore

8

Asia/Taipei

8

Asia/Ujung_Pandang

8

sia/Ulaanbaatar

8

sia/Ulan_Bator

8

Asia/Urumqi

8

Australia/Perth

8

Australia/West

8

CTT

8

Etc/GMT-8

8

Hongkong

8

PRC

8

Singapore

9

Asia/Choibalsan

9

Asia/Dili

9

Asia/Jayapura

9

Asia/Pyongyang

9

Asia/Seoul

9

Asia/Tokyo

9

Asia/Yakutsk

9

Etc/GMT-9

9

JST

9

Japan

9

Pacific/Palau

9

ROK

9.5

ACT

9.5

Australia/Adelaide

9.5

Australia/Broken_Hill

9.5

Australia/Darwin

9.5

Australia/North

9.5

Australia/South

9.5

Australia/Yancowinna

10

AET

10

Antarctica/DumontDUrville

10

Asia/Sakhalin

10

Asia/Vladivostok

10

Australia/ACT

10

Australia/Brisbane

10

Australia/Canberra

10

Australia/Hobart

10

Australia/Lindeman

10

Australia/Melbourne

10

Australia/NSW

10

Australia/Queensland

10

Australia/Sydney

10

Australia/Tasmania

10

Australia/Victoria

10

Etc/GMT-10

10

Pacific/Guam

10

Pacific/Port_Moresby

10

Pacific/Saipan

10

Pacific/Truk

10

Pacific/Yap

10.5

Australia/LHI

10.5

Australia/Lord_Howe

11

Asia/Magadan

11

Etc/GMT-11

11

Pacific/Efate

11

Pacific/Guadalcanal

11

Pacific/Kosrae

11

Pacific/Noumea

11

Pacific/Ponape

11

SST

11.5

Pacific/Norfolk

12

Antarctica/McMurdo

12

Antarctica/South_Pole

12

Asia/Anadyr

12

Asia/Kamchatka

12

Etc/GMT-12

12

Kwajalein

12

NST

12

NZ

12

Pacific/Auckland

12

Pacific/Fiji

12

Pacific/Funafuti

12

Pacific/Kwajalein

12

Pacific/Majuro

12

Pacific/Nauru

12

Pacific/Tarawa

12

Pacific/Wake

12

Pacific/Wallis

12.75

) NZ-CHAT

12.75

) Pacific/Chatham

13

Etc/GMT-13

13

Pacific/Enderbury

13

Pacific/Tongatapu

14

Etc/GMT-14

14

Pacific/Kiritimati

Back


Other Stuff

Back

Hope you enjoy ZeroHour!!!
http://www.mywasteofbandwidth.com