77 references to Hour
mscorlib (21)
system\datetime.cs (4)
246
if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, 60, DateTimeKind.Unspecified))
330
if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, 60, DateTimeKind.Unspecified))
365
if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, 60, kind))
1126
wHour = (ushort) dt.
Hour
;
system\datetimeoffset.cs (4)
114
!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.
Hour
, m_dateTime.Minute, 60, DateTimeKind.Utc))
135
!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.
Hour
, m_dateTime.Minute, 60, DateTimeKind.Utc))
157
!DateTime.IsValidTimeWithLeapSeconds(m_dateTime.Year, m_dateTime.Month, m_dateTime.Day, m_dateTime.
Hour
, m_dateTime.Minute, 60, DateTimeKind.Utc))
273
return ClockDateTime.
Hour
;
system\globalization\datetimeformat.cs (5)
460
hour12 = dateTime.
Hour
% 12;
469
FormatDigits(result, dateTime.
Hour
, tokenLen);
517
if (dateTime.
Hour
< 12)
535
result.Append((dateTime.
Hour
< 12 ? dtfi.AMDesignator : dtfi.PMDesignator));
1042
AppendNumber(result, dateTime.
Hour
, 2);
system\globalization\eastasianlunisolarcalendar.cs (1)
377
return (GregorianCalendar.GetDefaultInstance().ToDateTime(gy,gm,gd,time.
Hour
,time.Minute,time.Second,time.Millisecond));
system\runtime\remoting\soapinteroptypes.cs (1)
450
set {_value = new DateTime(1, 1, 1, value.
Hour
, value.Minute, value.Second, value.Millisecond);}
system\timezoneinfo.cs (6)
2220
timeOfDay.
Hour
, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond);
2228
timeOfDay.
Hour
, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond);
2247
timeOfDay.
Hour
, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond);
3134
return DaylightTransitionStart.Month == 1 && DaylightTransitionStart.Day == 1 && DaylightTransitionStart.TimeOfDay.
Hour
== 0 &&
3144
return DaylightTransitionEnd.Month == 1 && DaylightTransitionEnd.Day == 1 && DaylightTransitionEnd.TimeOfDay.
Hour
== 0 &&
4080
timeOfDay = new DateTime(1, 1, 1, timeOfDay.
Hour
,timeOfDay.Minute,timeOfDay.Second, timeOfDay.Millisecond);
System (3)
compmod\system\componentmodel\DateTimeConverter.cs (1)
143
dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, dt.Second, dt.Millisecond});
net\System\Net\mail\MailBnfHelper.cs (2)
273
if (value.
Hour
<= 9) {
276
localBuilder.Append(value.
Hour
);
System.Activities (1)
System\Activities\Expressions\Literal.cs (1)
121
literalValue.
Hour
,
System.Data (2)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
332
unchecked((short)value.
Hour
),
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
639
unchecked((short)value.
Hour
),
System.Data.Linq (2)
SqlClient\SqlMethods.cs (2)
197
return DateDiffDay(startDate, endDate) * 24 + endDate.
Hour
- startDate.
Hour
;
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
322
this.Hour = (ushort)dateTime.
Hour
;
521
ShortToCharArray(text, 11, dt.
Hour
);
System.Management (3)
ManagementDatetime.cs (3)
115
int hour = DateTime.MinValue.
Hour
;
287
dmtfDateTime = (dmtfDateTime + date.
Hour
.ToString(frmInt32).PadLeft(2, '0'));
294
DateTime dtTemp = new DateTime(date.Year ,date.Month,date.Day ,date.
Hour
,date.Minute ,date.Second,0);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
1088
offset += ToCharsD2(value.
Hour
, chars, offset);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
32
wHour = (short)date.
Hour
;
System\ServiceModel\Security\SecurityTimestamp.cs (1)
117
ToChars(utcTime.
Hour
, buffer, ref offset, 2);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
38
this.serviceLastModified = new DateTime(this.serviceLastModified.Year, this.serviceLastModified.Month, this.serviceLastModified.Day, this.serviceLastModified.
Hour
, this.serviceLastModified.Minute, this.serviceLastModified.Second, DateTimeKind.Utc);
System.Web (2)
Security\SQLMembershipProvider.cs (1)
1895
return new DateTime(utcDateTime.Year, utcDateTime.Month, utcDateTime.Day, utcDateTime.
Hour
, utcDateTime.Minute, utcDateTime.Second, DateTimeKind.Utc);
StaticFileHandler.cs (1)
515
fileInfo.LastWriteTimeUtc.
Hour
,
System.Web.DataVisualization (13)
Common\DataManager\DataPoint.cs (2)
2144
((DateTime)xValue).
Hour
,
2321
yTime.
Hour
,
Common\General\ChartAreaAxes.cs (2)
1978
ticksInterval += (date2.
Hour
- date1.
Hour
) * TimeSpan.TicksPerHour;
Common\General\ChartElement.cs (7)
1033
int hour = (int)((int)(newStartDate.
Hour
/ intervalSize) * intervalSize);
1043
newStartDate.
Hour
,
1053
newStartDate.
Hour
,
1064
newStartDate.
Hour
,
1218
dateValue.Month, dateValue.Day, dateValue.
Hour
,
1226
dateValue.
Hour
,
1235
dateValue.
Hour
,
Common\General\DataManipulator.cs (2)
1645
if(dateTimeValue.
Hour
>= rangeElements[index] &&
1646
dateTimeValue.
Hour
<= rangeElements[index+1])
System.Web.Extensions (1)
Script\Services\WebServiceClientProxyGenerator.cs (1)
29
return new DateTime(writeTime.Year, writeTime.Month, writeTime.Day, writeTime.
Hour
, writeTime.Minute, writeTime.Second);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1717
sys.wHour = (short)time.
Hour
;
System.Windows.Forms.DataVisualization (13)
Common\DataManager\DataPoint.cs (2)
2144
((DateTime)xValue).
Hour
,
2321
yTime.
Hour
,
Common\General\ChartAreaAxes.cs (2)
1978
ticksInterval += (date2.
Hour
- date1.
Hour
) * TimeSpan.TicksPerHour;
Common\General\ChartElement.cs (7)
1033
int hour = (int)((int)(newStartDate.
Hour
/ intervalSize) * intervalSize);
1043
newStartDate.
Hour
,
1053
newStartDate.
Hour
,
1064
newStartDate.
Hour
,
1218
dateValue.Month, dateValue.Day, dateValue.
Hour
,
1226
dateValue.
Hour
,
1235
dateValue.
Hour
,
Common\General\DataManipulator.cs (2)
1645
if(dateTimeValue.
Hour
>= rangeElements[index] &&
1646
dateTimeValue.
Hour
<= rangeElements[index+1])
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
2190
return dateTime.Year.ToString(System.Globalization.CultureInfo.InvariantCulture) + PadToDblDigit(dateTime.Month) + PadToDblDigit(dateTime.Day) + " " + dateTime.
Hour
.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Minute.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Second.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Millisecond.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Xml (5)
System\Xml\BinaryXml\SqlUtils.cs (3)
904
WriteTimeFullPrecision(sb, dt.
Hour
, dt.Minute, dt.Second, GetFractions(dt));
911
WriteTimeFullPrecision(sb, dt.
Hour
, dt.Minute, dt.Second, GetFractions(dt));
978
return (int)(dt.Ticks - new DateTime(dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, dt.Second).Ticks);
System\Xml\Schema\XsdDateTime.cs (2)
291
get { return dt.
Hour
; }
315
get { return (int)(dt.Ticks - new DateTime(dt.Year, dt.Month, dt.Day, dt.
Hour
, dt.Minute, dt.Second).Ticks); }
WindowsBase (2)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
500
result |= (((UInt32)dateTime.
Hour
) & 0x1F) << 11;
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
64
Hour = (ushort)dateTime.
Hour
;
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
203
localtime.Year, localtime.Month, localtime.Day, localtime.
Hour
,