Struct Date
Assembly: tt-net-api.dll
Syntax
public struct Date : IComparable<Date>, IEquatable<Date>
Properties
Day
Declaration
Property Value
Month
Declaration
public int? Month { get; }
Property Value
Year
Declaration
public int? Year { get; }
Property Value
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
Equals(Date)
Declaration
public bool Equals(Date rhs)
Parameters
Type |
Name |
Description |
Date |
rhs |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToDateTime()
Declaration
public DateTime ToDateTime()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToString(string)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
Operators
operator ==(Date, Date)
Declaration
public static bool operator ==(Date lhs, Date rhs)
Parameters
Returns
operator >(Date, Date)
Declaration
public static bool operator >(Date lhs, Date rhs)
Parameters
Returns
operator >=(Date, Date)
Declaration
public static bool operator >=(Date lhs, Date rhs)
Parameters
Returns
operator !=(Date, Date)
Declaration
public static bool operator !=(Date lhs, Date rhs)
Parameters
Returns
operator <(Date, Date)
Declaration
public static bool operator <(Date lhs, Date rhs)
Parameters
Returns
operator <=(Date, Date)
Declaration
public static bool operator <=(Date lhs, Date rhs)
Parameters
Returns
Implements