452 lines
26 KiB
HTML
452 lines
26 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="nl">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:25:35 CEST 2013 -->
|
|
<title>Uses of Class System.TimeSpan</title>
|
|
<meta name="date" content="2013-10-15">
|
|
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Class System.TimeSpan";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../System/TimeSpan.html" title="class in System">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../index.html?System/class-use/TimeSpan.html" target="_top">Frames</a></li>
|
|
<li><a href="TimeSpan.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h2 title="Uses of Class System.TimeSpan" class="title">Uses of Class<br>System.TimeSpan</h2>
|
|
</div>
|
|
<div class="classUseContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
|
<caption><span>Packages that use <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Package</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#Microsoft.Xna.Framework.Audio">Microsoft.Xna.Framework.Audio</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#Microsoft.Xna.Framework.GamerServices">Microsoft.Xna.Framework.GamerServices</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#Microsoft.Xna.Framework.Input.Touch">Microsoft.Xna.Framework.Input.Touch</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#Microsoft.Xna.Framework.Net">Microsoft.Xna.Framework.Net</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#System">System</a></td>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="Microsoft.Xna.Framework.Audio">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> in <a href="../../Microsoft/Xna/Framework/Audio/package-summary.html">Microsoft.Xna.Framework.Audio</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../Microsoft/Xna/Framework/Audio/package-summary.html">Microsoft.Xna.Framework.Audio</a> that return <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">SoundEffect.</span><code><strong><a href="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#getDuration()">getDuration</a></strong>()</code>
|
|
<div class="block">Gets the duration of the SoundEffect.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">DynamicSoundEffectInstance.</span><code><strong><a href="../../Microsoft/Xna/Framework/Audio/DynamicSoundEffectInstance.html#GetSampleDuration(int)">GetSampleDuration</a></strong>(int sizeInBytes)</code>
|
|
<div class="block">Returns the sample duration based on the specified size of the audio buffer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">SoundEffect.</span><code><strong><a href="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#GetSampleDuration(int, int, Microsoft.Xna.Framework.Audio.AudioChannels)">GetSampleDuration</a></strong>(int sizeInBytes,
|
|
int sampleRate,
|
|
<a href="../../Microsoft/Xna/Framework/Audio/AudioChannels.html" title="enum in Microsoft.Xna.Framework.Audio">AudioChannels</a> channels)</code>
|
|
<div class="block">Returns the sample duration based on the specified sample size and sample rate.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../Microsoft/Xna/Framework/Audio/package-summary.html">Microsoft.Xna.Framework.Audio</a> with parameters of type <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><span class="strong">DynamicSoundEffectInstance.</span><code><strong><a href="../../Microsoft/Xna/Framework/Audio/DynamicSoundEffectInstance.html#GetSampleSizeInBytes(System.TimeSpan)">GetSampleSizeInBytes</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> duration)</code>
|
|
<div class="block">Returns the size of the audio buffer required to contain audio samples based on the specified duration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><span class="strong">SoundEffect.</span><code><strong><a href="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#GetSampleSizeInBytes(System.TimeSpan, int, Microsoft.Xna.Framework.Audio.AudioChannels)">GetSampleSizeInBytes</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> duration,
|
|
int sampleRate,
|
|
<a href="../../Microsoft/Xna/Framework/Audio/AudioChannels.html" title="enum in Microsoft.Xna.Framework.Audio">AudioChannels</a> channels)</code>
|
|
<div class="block">Returns the size of the audio sample based on duration, sample rate, and audio channels.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="Microsoft.Xna.Framework.GamerServices">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> in <a href="../../Microsoft/Xna/Framework/GamerServices/package-summary.html">Microsoft.Xna.Framework.GamerServices</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../Microsoft/Xna/Framework/GamerServices/package-summary.html">Microsoft.Xna.Framework.GamerServices</a> with parameters of type <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><span class="strong">Guide.</span><code><strong><a href="../../Microsoft/Xna/Framework/GamerServices/Guide.html#DelayNotifications(System.TimeSpan)">DelayNotifications</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> delay)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="Microsoft.Xna.Framework.Input.Touch">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> in <a href="../../Microsoft/Xna/Framework/Input/Touch/package-summary.html">Microsoft.Xna.Framework.Input.Touch</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
|
|
<caption><span>Fields in <a href="../../Microsoft/Xna/Framework/Input/Touch/package-summary.html">Microsoft.Xna.Framework.Input.Touch</a> declared as <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">GestureSample.</span><code><strong><a href="../../Microsoft/Xna/Framework/Input/Touch/GestureSample.html#Timestamp">Timestamp</a></strong></code>
|
|
<div class="block">Holds the starting time for this touch gesture sample.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../Microsoft/Xna/Framework/Input/Touch/package-summary.html">Microsoft.Xna.Framework.Input.Touch</a> with parameters of type <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><strong><a href="../../Microsoft/Xna/Framework/Input/Touch/GestureSample.html#GestureSample(Microsoft.Xna.Framework.Input.Touch.GestureType, System.TimeSpan, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">GestureSample</a></strong>(<a href="../../Microsoft/Xna/Framework/Input/Touch/GestureType.html" title="enum in Microsoft.Xna.Framework.Input.Touch">GestureType</a> gestureType,
|
|
<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> timestamp,
|
|
<a href="../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position,
|
|
<a href="../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position2,
|
|
<a href="../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> delta,
|
|
<a href="../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> delta2)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="Microsoft.Xna.Framework.Net">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> in <a href="../../Microsoft/Xna/Framework/Net/package-summary.html">Microsoft.Xna.Framework.Net</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../Microsoft/Xna/Framework/Net/package-summary.html">Microsoft.Xna.Framework.Net</a> that return <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">QualityOfService.</span><code><strong><a href="../../Microsoft/Xna/Framework/Net/QualityOfService.html#getAverageRoundTripTime()">getAverageRoundTripTime</a></strong>()</code>
|
|
<div class="block">Gets the average (median) round trip time of all the network packets that were sent during the quality of service measurement process.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">QualityOfService.</span><code><strong><a href="../../Microsoft/Xna/Framework/Net/QualityOfService.html#getMinimumRoundTripTime()">getMinimumRoundTripTime</a></strong>()</code>
|
|
<div class="block">Gets the minimum round trip time of any network packet that was sent during the quality of service measurement process.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="System">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> in <a href="../../System/package-summary.html">System</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
|
|
<caption><span>Fields in <a href="../../System/package-summary.html">System</a> declared as <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#MaxValue">MaxValue</a></strong></code>
|
|
<div class="block">Represents the maximum TimeSpan value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#MinValue">MinValue</a></strong></code>
|
|
<div class="block">Represents the minimum TimeSpan value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Zero">Zero</a></strong></code>
|
|
<div class="block">Represents the zero TimeSpan value.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../System/package-summary.html">System</a> that return <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Add(System.TimeSpan)">Add</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> ts)</code>
|
|
<div class="block">Adds the specified TimeSpan to this instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Duration()">Duration</a></strong>()</code>
|
|
<div class="block">Returns a new TimeSpan object whose value is the absolute value of the current TimeSpan object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromDays(double)">FromDays</a></strong>(double value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromHours(double)">FromHours</a></strong>(double value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromMilliseconds(double)">FromMilliseconds</a></strong>(double value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified number of milliseconds.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromMinutes(double)">FromMinutes</a></strong>(double value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromSeconds(double)">FromSeconds</a></strong>(double value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#FromTicks(long)">FromTicks</a></strong>(long value)</code>
|
|
<div class="block">Returns a TimeSpan that represents a specified time, where the specification is in units of ticks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Negate()">Negate</a></strong>()</code>
|
|
<div class="block">Returns a TimeSpan whose value is the negated value of this instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Parse(java.lang.String)">Parse</a></strong>(java.lang.String s)</code>
|
|
<div class="block">Constructs a new TimeSpan object from a time interval specified in a string.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Subtract(System.TimeSpan)">Subtract</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> ts)</code>
|
|
<div class="block">Subtracts the specified TimeSpan from this instance.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../System/package-summary.html">System</a> with parameters of type <a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Add(System.TimeSpan)">Add</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> ts)</code>
|
|
<div class="block">Adds the specified TimeSpan to this instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Compare(System.TimeSpan, System.TimeSpan)">Compare</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> t1,
|
|
<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> t2)</code>
|
|
<div class="block">Compares two TimeSpan values and returns an integer that indicates their relationship.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#CompareTo(System.TimeSpan)">CompareTo</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> value)</code>
|
|
<div class="block">Compares this instance to a specified TimeSpan object and returns an indication of their relative values.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Equals(System.TimeSpan)">Equals</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> obj)</code>
|
|
<div class="block">Returns a value indicating whether this instance is equal to a specified TimeSpan object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Equals(System.TimeSpan, System.TimeSpan)">Equals</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> t1,
|
|
<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> t2)</code>
|
|
<div class="block">Returns a value indicating whether two specified instances of TimeSpan are equal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a></code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#Subtract(System.TimeSpan)">Subtract</a></strong>(<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> ts)</code>
|
|
<div class="block">Subtracts the specified TimeSpan from this instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><span class="strong">TimeSpan.</span><code><strong><a href="../../System/TimeSpan.html#TryParse(java.lang.String, System.TimeSpan)">TryParse</a></strong>(java.lang.String s,
|
|
<a href="../../System/TimeSpan.html" title="class in System">TimeSpan</a> result)</code>
|
|
<div class="block">Constructs a new TimeSpan object from a time interval specified in a string.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../System/TimeSpan.html" title="class in System">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../index.html?System/class-use/TimeSpan.html" target="_top">Frames</a></li>
|
|
<li><a href="TimeSpan.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|