Ylbtech-.netframework:datetimeoffset |
Represents a point in time, usually expressed in relation to the date and time of Coordinated Universal Time (UTC).
1. Assembly mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089 back to top |
1.
#regionAssembly mscorlib, version=4.0.0.0, Culture=neutral, publickeytoken=b77a5c561934e089//C:\Program Files (x86) \reference Assemblies\microsoft\framework\. Netframework\v4.5.2\mscorlib.dll#endregionusingSystem.Globalization;usingSystem.Runtime.Serialization;namespacesystem{ Public structDatetimeoffset:icomparable, IFormattable, ISerializable, Ideserializationcallback, Icomparable<datetimeoffset , iequatable<datetimeoffset> { Public Static ReadOnlyDateTimeOffset MinValue; Public Static ReadOnlyDateTimeOffset MaxValue; PublicDateTimeOffset (datetime datetime); PublicDateTimeOffset (Longticks, TimeSpan offset); PublicDateTimeOffset (datetime datetime, TimeSpan offset); PublicDateTimeOffset (intYearintMonthintDayintHourintMinuteintsecond, TimeSpan offset); PublicDateTimeOffset (intYearintMonthintDayintHourintMinuteintSecondintmillisecond, TimeSpan offset); PublicDateTimeOffset (intYearintMonthintDayintHourintMinuteintSecondintmillisecond, calendar calendar, TimeSpan offset); Public StaticDateTimeOffset UtcNow {Get; } Public StaticDateTimeOffset now {Get; } Publicdatetime datetime {Get; } PublicDateTime UtcDateTime {Get; } PublicDateTime LocalDateTime {Get; } PublicDateTime Date {Get; } Public intDay {Get; } PublicDayOfWeek DayOfWeek {Get; } Public intMonth {Get; } Public intHour {Get; } Public intMillisecond {Get; } Public intMinute {Get; } PublicTimeSpan Offset {Get; } Public intSecond {Get; } Public LongTicks {Get; } Public LongUtcticks {Get; } Public intDayOfYear {Get; } PublicTimeSpan TimeOfDay {Get; } Public intYear {Get; } Public Static intCompare (DateTimeOffset First, DateTimeOffset second); Public Static BOOLEquals (DateTimeOffset First, DateTimeOffset second); Public StaticDateTimeOffset Fromfiletime (LongfileTime); Public StaticDateTimeOffset Parse (stringinput, IFormatProvider formatprovider); Public StaticDateTimeOffset Parse (stringinput, IFormatProvider formatprovider, DateTimeStyles styles); Public StaticDateTimeOffset Parse (stringinput); Public StaticDateTimeOffset ParseExact (stringInputstringformat, IFormatProvider formatprovider); Public StaticDateTimeOffset ParseExact (stringInputstringformat, IFormatProvider formatprovider, DateTimeStyles styles); Public StaticDateTimeOffset ParseExact (stringInputstring[] formats, IFormatProvider formatprovider, DateTimeStyles styles); Public Static BOOLTryParse (stringInput outDateTimeOffset result); Public Static BOOLTryParse (stringInput, IFormatProvider formatprovider, DateTimeStyles styles, outDateTimeOffset result); Public Static BOOLTryParseExact (stringInputstringFormat, IFormatProvider formatprovider, DateTimeStyles styles, outDateTimeOffset result); Public Static BOOLTryParseExact (stringInputstring[] formats, IFormatProvider formatprovider, DateTimeStyles styles, outDateTimeOffset result); PublicDateTimeOffset Add (TimeSpan TimeSpan); PublicDateTimeOffset AddDays (DoubleDays ); PublicDateTimeOffset AddHours (Doublehours); PublicDateTimeOffset Addmilliseconds (Doublemilliseconds); PublicDateTimeOffset AddMinutes (Doubleminutes); PublicDateTimeOffset AddMonths (intmonths); PublicDateTimeOffset AddSeconds (Doubleseconds); PublicDateTimeOffset Addticks (Longticks); PublicDateTimeOffset AddYears (intyears); Public intCompareTo (DateTimeOffset other); Public Override BOOLEquals (Objectobj); Public BOOLEquals (DateTimeOffset other); Public BOOLEqualsexact (DateTimeOffset other); Public Override intGetHashCode (); PublicDateTimeOffset Subtract (TimeSpan value); PublicTimeSpan Subtract (DateTimeOffset value); Public LongTofiletime (); PublicDateTimeOffset ToLocalTime (); PublicDateTimeOffset tooffset (TimeSpan offset); Public Override stringToString (); Public stringToString (stringformat, IFormatProvider formatprovider); Public stringToString (IFormatProvider formatprovider); Public stringToString (stringformat); PublicDateTimeOffset touniversaltime (); Public StaticDateTimeOffsetoperator+(DateTimeOffset DateTimeOffset, TimeSpan TimeSpan); Public StaticTimeSpanoperator-(DateTimeOffset left, DateTimeOffset right); Public StaticDateTimeOffsetoperator-(DateTimeOffset DateTimeOffset, TimeSpan TimeSpan); Public Static BOOL operator==(DateTimeOffset left, DateTimeOffset right); Public Static BOOL operator!=(DateTimeOffset left, DateTimeOffset right); Public Static BOOL operator<(DateTimeOffset left, DateTimeOffset right); Public Static BOOL operator>(DateTimeOffset left, DateTimeOffset right); Public Static BOOL operator<=(DateTimeOffset left, DateTimeOffset right); Public Static BOOL operator>=(DateTimeOffset left, DateTimeOffset right); Public Static Implicit operatorDateTimeOffset (datetime datetime); }}
2.
|
Ylbtech Source: http://ylbtech.cnblogs.com/ This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility. |
. Netframework:datetimeoffset