Struct Date
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Assembly: tt-net-api.dll
Syntax
public struct Date : IComparable<Date>, IEquatable<Date>
Properties
Day
Declaration
Property Value
Type |
Description |
Nullable<Int32> |
|
Month
Declaration
public int? Month { get; }
Property Value
Type |
Description |
Nullable<Int32> |
|
Year
Declaration
public int? Year { get; }
Property Value
Type |
Description |
Nullable<Int32> |
|
Methods
CompareTo(Date)
Declaration
public int CompareTo(Date rhs)
Parameters
Type |
Name |
Description |
Date |
rhs |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
System.ValueType.Equals(System.Object)
Equals(Date)
Declaration
public bool Equals(Date rhs)
Parameters
Type |
Name |
Description |
Date |
rhs |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
ToDateTime()
Declaration
public DateTime ToDateTime()
Returns
Type |
Description |
DateTime |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.ValueType.ToString()
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
Operators
Equality(Date, Date)
Declaration
public static bool operator ==(Date lhs, Date rhs)
Parameters
Returns
GreaterThan(Date, Date)
Declaration
public static bool operator>(Date lhs, Date rhs)
Parameters
Returns
GreaterThanOrEqual(Date, Date)
Declaration
public static bool operator >=(Date lhs, Date rhs)
Parameters
Returns
Inequality(Date, Date)
Declaration
public static bool operator !=(Date lhs, Date rhs)
Parameters
Returns
LessThan(Date, Date)
Declaration
public static bool operator <(Date lhs, Date rhs)
Parameters
Returns
LessThanOrEqual(Date, Date)
Declaration
public static bool operator <=(Date lhs, Date rhs)
Parameters
Returns
Implements
System.IComparable<T>
System.IEquatable<T>