DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Public Member Functions | |
SqlDateTime (int year, int month, int day) | |
SqlDateTime (int year, int month, int day, int hour, int minute, int second, int millisecond) | |
SqlDateTime (int year, int month, int day, int hour, int minute, int second, int millisecond, SqlDayToSecond offset) | |
SqlDateTime (long ticks) | |
SqlDateTime (long ticks, SqlDayToSecond offset) | |
SqlDateTime (byte[] bytes) | |
int IComparable. | CompareTo (object obj) |
int IComparable< ISqlObject >. | CompareTo (ISqlObject other) |
bool ISqlObject. | IsComparableTo (ISqlObject other) |
Checks if the current object is comparable with the given one. More... | |
TypeCode IConvertible. | GetTypeCode () |
bool IConvertible. | ToBoolean (IFormatProvider provider) |
char IConvertible. | ToChar (IFormatProvider provider) |
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
byte IConvertible. | ToByte (IFormatProvider provider) |
short IConvertible. | ToInt16 (IFormatProvider provider) |
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
int IConvertible. | ToInt32 (IFormatProvider provider) |
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
long IConvertible. | ToInt64 (IFormatProvider provider) |
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
float IConvertible. | ToSingle (IFormatProvider provider) |
double IConvertible. | ToDouble (IFormatProvider provider) |
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
string IConvertible. | ToString (IFormatProvider provider) |
object IConvertible. | ToType (Type conversionType, IFormatProvider provider) |
bool | Equals (SqlDateTime other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
int | CompareTo (SqlDateTime other) |
long | ToInt64 () |
byte[] | ToByteArray () |
byte[] | ToByteArray (bool timeZone) |
SqlDateTime | Add (SqlDayToSecond interval) |
Adds the given interval of time to this date-time. More... | |
SqlDateTime | Subtract (SqlDayToSecond interval) |
Subtracts a given interval of time from this date. More... | |
SqlDateTime | Add (SqlYearToMonth interval) |
Adds the given months to this date. More... | |
SqlDateTime | Subtract (SqlYearToMonth interval) |
SqlDateTime | ToUtc () |
SqlString | ToDateString () |
SqlString | ToTimeString () |
SqlString | ToTimeStampString () |
override string | ToString () |
DateTime | ToDateTime () |
Public Attributes | |
const string | TimeStringFormat = "HH:mm:ss.fff zzz" |
const string | TimeStampStringFormat = "yyyy-MM-ddTHH:mm:ss.fff zzz" |
const string | DateStringFormat = "yyyy-MM-dd" |
Static Public Attributes | |
static readonly SqlDateTime | Null = new SqlDateTime(true) |
static readonly string[] | SqlDateFormats |
static readonly string[] | SqlTimeStampFormats |
static readonly string[] | SqlTimeFormats |
static readonly SqlDateTime | MaxDate = new SqlDateTime(9999, 12, 31, 23, 59, 59, 999) |
static readonly SqlDateTime | MinDate = new SqlDateTime(1, 1, 1, 0, 0, 0, 0) |
Properties | |
bool | IsNull [get] |
int | Year [get] |
int | Month [get] |
int | Day [get] |
int | Hour [get] |
int | Minute [get] |
int | Second [get] |
int | Millisecond [get] |
SqlDayToSecond | Offset [get] |
Gets the offset between the date-time instance and the UTC time. More... | |
static SqlDateTime | Now [get] |
Properties inherited from Deveel.Data.Sql.Objects.ISqlObject | |
bool | IsNull [get] |
Gets a boolean value indicating if the object is NULL . More... | |
Private Member Functions | |
SqlDateTime (bool isNull) | |
void | AssertNotNull () |
Private Attributes | |
readonly DateTimeOffset | value |
const int | DateSize = 7 |
const int | TimeStampSize = 11 |
const int | FullTimeStampSize = 13 |
Definition at line 21 of file SqlDateTime.cs.
|
inline |
Definition at line 73 of file SqlDateTime.cs.
|
inline |
Definition at line 77 of file SqlDateTime.cs.
|
inline |
Definition at line 81 of file SqlDateTime.cs.
|
inline |
Definition at line 103 of file SqlDateTime.cs.
|
inline |
Definition at line 107 of file SqlDateTime.cs.
|
inlineprivate |
Definition at line 113 of file SqlDateTime.cs.
|
inline |
Definition at line 119 of file SqlDateTime.cs.
|
inline |
Adds the given interval of time to this date-time.
interval | The interval of time to add. |
This method will return Null if either the given interval is SqlDayToSecond.Null or if this instance is equivalent to NULL
.
Definition at line 390 of file SqlDateTime.cs.
|
inline |
Adds the given months to this date.
interval | The month-base interval of time to add. |
Definition at line 425 of file SqlDateTime.cs.
|
inlineprivate |
Definition at line 157 of file SqlDateTime.cs.
|
inline |
Definition at line 145 of file SqlDateTime.cs.
|
inline |
Definition at line 149 of file SqlDateTime.cs.
|
inline |
Definition at line 332 of file SqlDateTime.cs.
|
inline |
Definition at line 317 of file SqlDateTime.cs.
|
inline |
Definition at line 324 of file SqlDateTime.cs.
|
inline |
Definition at line 328 of file SqlDateTime.cs.
|
inline |
Definition at line 233 of file SqlDateTime.cs.
|
inline |
Checks if the current object is comparable with the given one.
other | The other ISqlObject to compare. |
true
if the current object is comparable with the given one, false
otherwise. Implements Deveel.Data.Sql.Objects.ISqlObject.
Definition at line 229 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 572 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 564 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 551 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 558 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 449 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 471 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 479 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 475 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 483 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 457 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 466 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 445 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 453 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 461 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 487 of file SqlDateTime.cs.
|
inline |
Subtracts a given interval of time from this date.
interval | The interval to subtract from this date. |
Definition at line 409 of file SqlDateTime.cs.
|
inline |
Definition at line 435 of file SqlDateTime.cs.
|
inline |
Definition at line 237 of file SqlDateTime.cs.
|
inline |
Definition at line 249 of file SqlDateTime.cs.
|
inline |
Definition at line 348 of file SqlDateTime.cs.
|
inline |
Definition at line 352 of file SqlDateTime.cs.
|
inline |
Definition at line 241 of file SqlDateTime.cs.
|
inline |
Definition at line 589 of file SqlDateTime.cs.
|
inline |
Definition at line 289 of file SqlDateTime.cs.
|
inline |
Definition at line 620 of file SqlDateTime.cs.
|
inline |
Definition at line 285 of file SqlDateTime.cs.
|
inline |
Definition at line 281 of file SqlDateTime.cs.
|
inline |
Definition at line 253 of file SqlDateTime.cs.
|
inline |
Definition at line 261 of file SqlDateTime.cs.
|
inline |
Definition at line 269 of file SqlDateTime.cs.
|
inline |
Definition at line 343 of file SqlDateTime.cs.
|
inline |
Definition at line 245 of file SqlDateTime.cs.
|
inline |
Definition at line 277 of file SqlDateTime.cs.
|
inline |
Definition at line 296 of file SqlDateTime.cs.
|
inline |
Definition at line 613 of file SqlDateTime.cs.
|
inline |
Definition at line 605 of file SqlDateTime.cs.
|
inline |
Definition at line 597 of file SqlDateTime.cs.
|
inline |
Definition at line 300 of file SqlDateTime.cs.
|
inline |
Definition at line 257 of file SqlDateTime.cs.
|
inline |
Definition at line 265 of file SqlDateTime.cs.
|
inline |
Definition at line 273 of file SqlDateTime.cs.
|
inline |
Definition at line 580 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 495 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 510 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 523 of file SqlDateTime.cs.
|
inlinestatic |
Definition at line 537 of file SqlDateTime.cs.
|
private |
Definition at line 26 of file SqlDateTime.cs.
const string Deveel.Data.Sql.Objects.SqlDateTime.DateStringFormat = "yyyy-MM-dd" |
Definition at line 68 of file SqlDateTime.cs.
|
private |
Definition at line 28 of file SqlDateTime.cs.
|
static |
Definition at line 70 of file SqlDateTime.cs.
|
static |
Definition at line 71 of file SqlDateTime.cs.
|
static |
Definition at line 24 of file SqlDateTime.cs.
|
static |
Definition at line 30 of file SqlDateTime.cs.
|
static |
Definition at line 55 of file SqlDateTime.cs.
|
static |
Definition at line 35 of file SqlDateTime.cs.
|
private |
Definition at line 27 of file SqlDateTime.cs.
const string Deveel.Data.Sql.Objects.SqlDateTime.TimeStampStringFormat = "yyyy-MM-ddTHH:mm:ss.fff zzz" |
Definition at line 67 of file SqlDateTime.cs.
const string Deveel.Data.Sql.Objects.SqlDateTime.TimeStringFormat = "HH:mm:ss.fff zzz" |
Definition at line 66 of file SqlDateTime.cs.
|
private |
Definition at line 22 of file SqlDateTime.cs.
|
get |
Definition at line 176 of file SqlDateTime.cs.
|
get |
Definition at line 183 of file SqlDateTime.cs.
|
get |
Definition at line 153 of file SqlDateTime.cs.
|
get |
Definition at line 204 of file SqlDateTime.cs.
|
get |
Definition at line 190 of file SqlDateTime.cs.
|
get |
Definition at line 169 of file SqlDateTime.cs.
|
staticget |
Definition at line 221 of file SqlDateTime.cs.
|
get |
Gets the offset between the date-time instance and the UTC time.
Definition at line 214 of file SqlDateTime.cs.
|
get |
Definition at line 197 of file SqlDateTime.cs.
|
get |
Definition at line 162 of file SqlDateTime.cs.