Inherits IComparable, IFormattable, ISerializable, IComparable< Date >, and IEquatable< Date >.
|
static TimeSpan | operator- (Date d1, Date d2) |
|
static Date | operator- (Date d, TimeSpan t) |
|
static bool | operator!= (Date d1, Date d2) |
|
static Date | operator+ (Date d, TimeSpan t) |
|
static bool | operator< (Date d1, Date d2) |
|
static bool | operator<= (Date d1, Date d2) |
|
static bool | operator== (Date d1, Date d2) |
|
static bool | operator> (Date d1, Date d2) |
|
static bool | operator>= (Date d1, Date d2) |
|
static implicit | operator DateTime (Date d) |
|
static | operator Date (DateTime d) |
|
static implicit | operator DateTimeOffset (Date d) |
|
static | operator Date (DateTimeOffset d) |
|
static int | Compare (Date d1, Date d2) |
|
static int | DaysInMonth (int year, int month) |
|
static bool | Equals (Date d1, Date d2) |
|
static bool | IsLeapYear (int year) |
|
static Date | Parse (string s) |
|
static Date | Parse (string s, IFormatProvider provider) |
|
static Date | Parse (string s, IFormatProvider provider, DateTimeStyles style) |
|
static Date | ParseExact (string s, string format, IFormatProvider provider) |
|
static Date | ParseExact (string s, string format, IFormatProvider provider, DateTimeStyles style) |
|
static Date | ParseExact (string s, string[] formats, IFormatProvider provider, DateTimeStyles style) |
|
static bool | TryParse (string s, out Date result) |
|
static bool | TryParse (string s, IFormatProvider provider, DateTimeStyles style, out Date result) |
|
static bool | TryParseExact (string s, string format, IFormatProvider provider, DateTimeStyles style, out Date result) |
|
static bool | TryParseExact (string s, string[] formats, IFormatProvider provider, DateTimeStyles style, out Date result) |
|
◆ Date() [1/3]
commercetools.Base.Models.Date.Date |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day |
|
) |
| |
|
inline |
◆ Date() [2/3]
commercetools.Base.Models.Date.Date |
( |
DateTime |
dateTime | ) |
|
|
inline |
◆ Date() [3/3]
commercetools.Base.Models.Date.Date |
( |
DateTimeOffset |
dateTimeOffset | ) |
|
|
inline |
◆ AddDays()
Date commercetools.Base.Models.Date.AddDays |
( |
int |
value | ) |
|
|
inline |
◆ AddMonths()
Date commercetools.Base.Models.Date.AddMonths |
( |
int |
value | ) |
|
|
inline |
◆ AddYears()
Date commercetools.Base.Models.Date.AddYears |
( |
int |
value | ) |
|
|
inline |
◆ Compare()
static int commercetools.Base.Models.Date.Compare |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ CompareTo() [1/2]
int commercetools.Base.Models.Date.CompareTo |
( |
Date |
value | ) |
|
|
inline |
◆ CompareTo() [2/2]
int commercetools.Base.Models.Date.CompareTo |
( |
object |
value | ) |
|
|
inline |
◆ DaysInMonth()
static int commercetools.Base.Models.Date.DaysInMonth |
( |
int |
year, |
|
|
int |
month |
|
) |
| |
|
inlinestatic |
◆ Equals() [1/3]
static bool commercetools.Base.Models.Date.Equals |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ Equals() [2/3]
bool commercetools.Base.Models.Date.Equals |
( |
Date |
value | ) |
|
|
inline |
◆ Equals() [3/3]
override bool commercetools.Base.Models.Date.Equals |
( |
object |
value | ) |
|
|
inline |
◆ GetHashCode()
override int commercetools.Base.Models.Date.GetHashCode |
( |
| ) |
|
|
inline |
◆ GetObjectData()
void ISerializable. commercetools.Base.Models.Date.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
◆ IsLeapYear()
static bool commercetools.Base.Models.Date.IsLeapYear |
( |
int |
year | ) |
|
|
inlinestatic |
◆ operator Date() [1/2]
static commercetools.Base.Models.Date.operator Date |
( |
DateTime |
d | ) |
|
|
inlineexplicitstatic |
◆ operator Date() [2/2]
static commercetools.Base.Models.Date.operator Date |
( |
DateTimeOffset |
d | ) |
|
|
inlineexplicitstatic |
◆ operator DateTime()
static implicit commercetools.Base.Models.Date.operator DateTime |
( |
Date |
d | ) |
|
|
inlinestatic |
◆ operator DateTimeOffset()
static implicit commercetools.Base.Models.Date.operator DateTimeOffset |
( |
Date |
d | ) |
|
|
inlinestatic |
◆ operator!=()
static bool commercetools.Base.Models.Date.operator!= |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator+()
static Date commercetools.Base.Models.Date.operator+ |
( |
Date |
d, |
|
|
TimeSpan |
t |
|
) |
| |
|
inlinestatic |
◆ operator-() [1/2]
static Date commercetools.Base.Models.Date.operator- |
( |
Date |
d, |
|
|
TimeSpan |
t |
|
) |
| |
|
inlinestatic |
◆ operator-() [2/2]
static TimeSpan commercetools.Base.Models.Date.operator- |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator<()
static bool commercetools.Base.Models.Date.operator< |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator<=()
static bool commercetools.Base.Models.Date.operator<= |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator==()
static bool commercetools.Base.Models.Date.operator== |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator>()
static bool commercetools.Base.Models.Date.operator> |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ operator>=()
static bool commercetools.Base.Models.Date.operator>= |
( |
Date |
d1, |
|
|
Date |
d2 |
|
) |
| |
|
inlinestatic |
◆ Parse() [1/3]
static Date commercetools.Base.Models.Date.Parse |
( |
string |
s | ) |
|
|
inlinestatic |
◆ Parse() [2/3]
static Date commercetools.Base.Models.Date.Parse |
( |
string |
s, |
|
|
IFormatProvider |
provider |
|
) |
| |
|
inlinestatic |
◆ Parse() [3/3]
static Date commercetools.Base.Models.Date.Parse |
( |
string |
s, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style |
|
) |
| |
|
inlinestatic |
◆ ParseExact() [1/3]
static Date commercetools.Base.Models.Date.ParseExact |
( |
string |
s, |
|
|
string |
format, |
|
|
IFormatProvider |
provider |
|
) |
| |
|
inlinestatic |
◆ ParseExact() [2/3]
static Date commercetools.Base.Models.Date.ParseExact |
( |
string |
s, |
|
|
string |
format, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style |
|
) |
| |
|
inlinestatic |
◆ ParseExact() [3/3]
static Date commercetools.Base.Models.Date.ParseExact |
( |
string |
s, |
|
|
string[] |
formats, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style |
|
) |
| |
|
inlinestatic |
◆ Subtract() [1/2]
TimeSpan commercetools.Base.Models.Date.Subtract |
( |
Date |
value | ) |
|
|
inline |
◆ Subtract() [2/2]
Date commercetools.Base.Models.Date.Subtract |
( |
TimeSpan |
value | ) |
|
|
inline |
◆ ToLongString()
string commercetools.Base.Models.Date.ToLongString |
( |
| ) |
|
|
inline |
◆ ToShortString()
string commercetools.Base.Models.Date.ToShortString |
( |
| ) |
|
|
inline |
◆ ToString() [1/4]
override string commercetools.Base.Models.Date.ToString |
( |
| ) |
|
|
inline |
◆ ToString() [2/4]
string commercetools.Base.Models.Date.ToString |
( |
IFormatProvider |
provider | ) |
|
|
inline |
◆ ToString() [3/4]
string commercetools.Base.Models.Date.ToString |
( |
string |
format | ) |
|
|
inline |
◆ ToString() [4/4]
string commercetools.Base.Models.Date.ToString |
( |
string |
format, |
|
|
IFormatProvider |
provider |
|
) |
| |
|
inline |
◆ TryParse() [1/2]
static bool commercetools.Base.Models.Date.TryParse |
( |
string |
s, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style, |
|
|
out Date |
result |
|
) |
| |
|
inlinestatic |
◆ TryParse() [2/2]
static bool commercetools.Base.Models.Date.TryParse |
( |
string |
s, |
|
|
out Date |
result |
|
) |
| |
|
inlinestatic |
◆ TryParseExact() [1/2]
static bool commercetools.Base.Models.Date.TryParseExact |
( |
string |
s, |
|
|
string |
format, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style, |
|
|
out Date |
result |
|
) |
| |
|
inlinestatic |
◆ TryParseExact() [2/2]
static bool commercetools.Base.Models.Date.TryParseExact |
( |
string |
s, |
|
|
string[] |
formats, |
|
|
IFormatProvider |
provider, |
|
|
DateTimeStyles |
style, |
|
|
out Date |
result |
|
) |
| |
|
inlinestatic |
◆ MaxValue
readonly Date commercetools.Base.Models.Date.MaxValue = new Date(DateTime.MaxValue) |
|
static |
◆ MinValue
readonly Date commercetools.Base.Models.Date.MinValue = new Date(DateTime.MinValue) |
|
static |
◆ Day
int commercetools.Base.Models.Date.Day |
|
get |
◆ DayOfWeek
DayOfWeek commercetools.Base.Models.Date.DayOfWeek |
|
get |
◆ DayOfYear
int commercetools.Base.Models.Date.DayOfYear |
|
get |
◆ Month
int commercetools.Base.Models.Date.Month |
|
get |
◆ Ticks
long commercetools.Base.Models.Date.Ticks |
|
get |
◆ Today
Date commercetools.Base.Models.Date.Today |
|
staticget |
◆ Year
int commercetools.Base.Models.Date.Year |
|
get |
The documentation for this struct was generated from the following file:
- commercetools.Sdk/commercetools.Base.Abstractions/Models/Date.cs