.Net3.5 calendarCalc.  Written by Joe McCormack, 2009. www.virtualsecrets.com

-----------------------------------
IMPORTING INTO YOUR WEBSITE PROJECT
-----------------------------------
1.  Create a new VB Class file with the name of "calendarCalcFunctions" OR import existing file located here "calendarCalcFunctions.vb".
    NOTE: If you do not import you will need to copy-n-paste code from "calendarCalcFunctions.vb" located here into the appropriate VB file in your project.
2.  Create a new web form (aspx) page with the name of "Demo" OR import existing files "Demo.aspx" and "Demo.aspx.vb".
    NOTE: The same applies to these two files, as with #1.
    "Demo.aspx.vb" code references "Imports yourProject.calendarCalcFunctions".  "yourProject" most likely will need to change.
    "Demo.aspx" code references "Inherits="yourProject.Demo"".  "yourProject" most likely will need to change.  Additionally, the "CodeBehind" value of "Demo.aspx.vb" may need to change.

------------------------------------------
WHAT DOES "calendarDateMonthGetStats()" DO
------------------------------------------
Call: calendarDateMonthGetStats(13, 1, 2010)
Places output into the series of variables:
	Public calendarDateDayOccurance As Integer = 0				' From the date given this is how many occurances of the day the date falls on -> 2
	Public calendarDateWeeksInMonth As Integer = 0				' From the date given there are this many weeks in month -> 6
	Public calendarDateDaysInMonth As Integer = 0				' From the date given there are this many days in month -> 31
	Public calendarDateFirstDayFallsOn As String = String.Empty		' The first day of the month of date given falls on is -> Friday
	Public calendarDateLastDayFallsOn As String = String.Empty		' The last day of the month of date given falls on is -> Sunday
	Public calendarDateFullDateFallsOnWeek As Integer = 0			' The week of the month the date falls on is -> 3
	Public calendarDateFullDateFallsOnNumericDay As Integer = 0		' The day number (1-7) of the week the date falls on is -> 4
	Public calendarDateFullDateFallsOnNameDay As String = String.Empty	' The name of the day the date falls on is -> Wednesday
Example Output:
	There are 6 weeks in the month.
	There are 31 days in the month.
	The first day of the month is on a Friday.
	The last day of the month is on a Sunday.
	The date 1/13/2010 falls on the 3 week of the month.
	The date 1/13/2010 day number (1-7) is 4.
	The date 1/13/2010 day name is Wednesday.
	The date 1/13/2010 falls on the 2 occurance of Wednesday.

-------------------------------------------
WHAT DOES "calendarDateMonthStatsSave()" DO
-------------------------------------------
Call: calendarDateMonthStatsSave()
This subroutine copies the values stored in variables created by "calendarDateMonthGetStats()" into the prev_ equivalents for your reference ("example output" above is an example).

--------------------------------------------------------
WHAT DOES "calendarDateMonthStatsConsecutiveMonths()" DO
--------------------------------------------------------
Call: calendarDateMonthStatsConsecutiveMonths(2010, 1, 10)
Places output in array "saveMonthDates".
Example Output:
	2/10/2010
	3/10/2010
	4/14/2010
	5/12/2010
	6/9/2010
	7/14/2010
	8/11/2010
	9/8/2010
	10/13/2010
	11/10/2010

--------------------------------------------------------
WHAT DOES "calendarDateWeeklyStatsConsecutiveWeeks()" DO
--------------------------------------------------------
Call: calendarDateWeeklyStatsConsecutiveWeeks(13, 1, 2010, 6)
Places output in array "saveWeeklyDates".
Example Output:
	1/20/2010
	1/27/2010
	2/3/2010
	2/10/2010
	2/17/2010
	2/24/2010
