77 references to Hour
mscorlib (21)
system\datetime.cs (4)
246if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified)) 330if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, DateTimeKind.Unspecified)) 365if (!IsValidTimeWithLeapSeconds(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, 60, kind)) 1126wHour = (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)) 273return ClockDateTime.Hour;
system\globalization\datetimeformat.cs (5)
460hour12 = dateTime.Hour % 12; 469FormatDigits(result, dateTime.Hour, tokenLen); 517if (dateTime.Hour < 12) 535result.Append((dateTime.Hour < 12 ? dtfi.AMDesignator : dtfi.PMDesignator)); 1042AppendNumber(result, dateTime.Hour, 2);
system\globalization\eastasianlunisolarcalendar.cs (1)
377return (GregorianCalendar.GetDefaultInstance().ToDateTime(gy,gm,gd,time.Hour,time.Minute,time.Second,time.Millisecond));
system\runtime\remoting\soapinteroptypes.cs (1)
450set {_value = new DateTime(1, 1, 1, value.Hour, value.Minute, value.Second, value.Millisecond);}
system\timezoneinfo.cs (6)
2220timeOfDay.Hour, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond); 2228timeOfDay.Hour, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond); 2247timeOfDay.Hour, timeOfDay.Minute, timeOfDay.Second, timeOfDay.Millisecond); 3134return DaylightTransitionStart.Month == 1 && DaylightTransitionStart.Day == 1 && DaylightTransitionStart.TimeOfDay.Hour == 0 && 3144return DaylightTransitionEnd.Month == 1 && DaylightTransitionEnd.Day == 1 && DaylightTransitionEnd.TimeOfDay.Hour == 0 && 4080timeOfDay = new DateTime(1, 1, 1, timeOfDay.Hour,timeOfDay.Minute,timeOfDay.Second, timeOfDay.Millisecond);
System (3)
compmod\system\componentmodel\DateTimeConverter.cs (1)
143dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second, dt.Millisecond});
net\System\Net\mail\MailBnfHelper.cs (2)
273if (value.Hour <= 9) { 276localBuilder.Append(value.Hour);
System.Activities (1)
System\Activities\Expressions\Literal.cs (1)
121literalValue.Hour,
System.Data (2)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
332unchecked((short)value.Hour),
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
639unchecked((short)value.Hour),
System.Data.Linq (2)
SqlClient\SqlMethods.cs (2)
197return DateDiffDay(startDate, endDate) * 24 + endDate.Hour - startDate.Hour;
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
322this.Hour = (ushort)dateTime.Hour; 521ShortToCharArray(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)
1088offset += ToCharsD2(value.Hour, chars, offset);
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
32wHour = (short)date.Hour;
System\ServiceModel\Security\SecurityTimestamp.cs (1)
117ToChars(utcTime.Hour, buffer, ref offset, 2);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
38this.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)
1895return new DateTime(utcDateTime.Year, utcDateTime.Month, utcDateTime.Day, utcDateTime.Hour, utcDateTime.Minute, utcDateTime.Second, DateTimeKind.Utc);
StaticFileHandler.cs (1)
515fileInfo.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)
29return 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)
1717sys.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)
2190return 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)
904WriteTimeFullPrecision(sb, dt.Hour, dt.Minute, dt.Second, GetFractions(dt)); 911WriteTimeFullPrecision(sb, dt.Hour, dt.Minute, dt.Second, GetFractions(dt)); 978return (int)(dt.Ticks - new DateTime(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second).Ticks);
System\Xml\Schema\XsdDateTime.cs (2)
291get { return dt.Hour; } 315get { 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)
500result |= (((UInt32)dateTime.Hour) & 0x1F) << 11;
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (1)
64Hour = (ushort)dateTime.Hour;
WsatUI (1)
Configuration\ETWWsatTraceSession.cs (1)
203localtime.Year, localtime.Month, localtime.Day, localtime.Hour,