5 // Chris J Breisch (cjbreisch@altavista.net)
\r
7 // (C) 2002 Chris J Breisch
\r
9 namespace Microsoft.VisualBasic {
\r
10 [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
\r
11 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)]
\r
12 sealed public class DateAndTime {
\r
16 public static System.String DateString { get {return "";} set {} }
\r
17 public static System.DateTime Today { get {return System.DateTime.MinValue;} set {} }
\r
18 public static System.Double Timer { get {return 0;} }
\r
19 public static System.DateTime Now { get {return System.DateTime.MinValue;} }
\r
20 public static System.DateTime TimeOfDay { get {return System.DateTime.MinValue;} set {} }
\r
21 public static System.String TimeString { get {return "";} set {} }
\r
23 public static System.DateTime DateAdd (Microsoft.VisualBasic.DateInterval Interval, System.Double Number, System.DateTime DateValue) { return System.DateTime.MinValue;}
\r
24 public static System.Int64 DateDiff (Microsoft.VisualBasic.DateInterval Interval, System.DateTime Date1, System.DateTime Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;}
\r
25 public static System.Int32 DatePart (Microsoft.VisualBasic.DateInterval Interval, System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear FirstWeekOfYearValue) { return 0;}
\r
26 public static System.DateTime DateAdd (System.String Interval, System.Double Number, System.Object DateValue) { return System.DateTime.MinValue;}
\r
27 public static System.Int64 DateDiff (System.String Interval, System.Object Date1, System.Object Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;}
\r
28 public static System.Int32 DatePart (System.String Interval, System.Object DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;}
\r
29 public static System.DateTime DateSerial (System.Int32 Year, System.Int32 Month, System.Int32 Day) { return System.DateTime.MinValue;}
\r
30 public static System.DateTime TimeSerial (System.Int32 Hour, System.Int32 Minute, System.Int32 Second) { return System.DateTime.MinValue;}
\r
31 public static System.DateTime DateValue (System.String StringDate) { return System.DateTime.MinValue;}
\r
32 public static System.DateTime TimeValue (System.String StringTime) { return System.DateTime.MinValue;}
\r
33 public static System.Int32 Year (System.DateTime DateValue) { return 0;}
\r
34 public static System.Int32 Month (System.DateTime DateValue) { return 0;}
\r
35 public static System.Int32 Day (System.DateTime DateValue) { return 0;}
\r
36 public static System.Int32 Hour (System.DateTime TimeValue) { return 0;}
\r
37 public static System.Int32 Minute (System.DateTime TimeValue) { return 0;}
\r
38 public static System.Int32 Second (System.DateTime TimeValue) { return 0;}
\r
39 public static System.Int32 Weekday (System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek) { return 0;}
\r
40 public static System.String MonthName (System.Int32 Month, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate) { return "";}
\r
41 public static System.String WeekdayName (System.Int32 Weekday, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(0)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue) { return "";}
\r