547 lines
29 KiB
HTML
547 lines
29 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:23 CEST 2012 -->
|
|
<TITLE>
|
|
Uses of Class System.TimeSpan
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2012-04-15">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Class System.TimeSpan";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../System/TimeSpan.html" title="class in System"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
PREV
|
|
NEXT</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?System/\class-useTimeSpan.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="TimeSpan.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<CENTER>
|
|
<H2>
|
|
<B>Uses of Class<br>System.TimeSpan</B></H2>
|
|
</CENTER>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
Packages that use <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#Microsoft.Xna.Framework.Audio"><B>Microsoft.Xna.Framework.Audio</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#Microsoft.Xna.Framework.GamerServices"><B>Microsoft.Xna.Framework.GamerServices</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#Microsoft.Xna.Framework.Input.Touch"><B>Microsoft.Xna.Framework.Input.Touch</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#Microsoft.Xna.Framework.Net"><B>Microsoft.Xna.Framework.Net</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#System"><B>System</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="Microsoft.Xna.Framework.Audio"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
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></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>SoundEffect.</B><B><A HREF="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#getDuration()">getDuration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the duration of the SoundEffect.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>DynamicSoundEffectInstance.</B><B><A HREF="../../Microsoft/Xna/Framework/Audio/DynamicSoundEffectInstance.html#GetSampleDuration(int)">GetSampleDuration</A></B>(int sizeInBytes)</CODE>
|
|
|
|
<BR>
|
|
Returns the sample duration based on the specified size of the audio buffer.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>SoundEffect.</B><B><A HREF="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#GetSampleDuration(int, int, Microsoft.Xna.Framework.Audio.AudioChannels)">GetSampleDuration</A></B>(int sizeInBytes,
|
|
int sampleRate,
|
|
<A HREF="../../Microsoft/Xna/Framework/Audio/AudioChannels.html" title="enum in Microsoft.Xna.Framework.Audio">AudioChannels</A> channels)</CODE>
|
|
|
|
<BR>
|
|
Returns the sample duration based on the specified sample size and sample rate.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B>DynamicSoundEffectInstance.</B><B><A HREF="../../Microsoft/Xna/Framework/Audio/DynamicSoundEffectInstance.html#GetSampleSizeInBytes(System.TimeSpan)">GetSampleSizeInBytes</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Returns the size of the audio buffer required to contain audio samples based on the specified duration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B>SoundEffect.</B><B><A HREF="../../Microsoft/Xna/Framework/Audio/SoundEffect.html#GetSampleSizeInBytes(System.TimeSpan, int, Microsoft.Xna.Framework.Audio.AudioChannels)">GetSampleSizeInBytes</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the size of the audio sample based on duration, sample rate, and audio channels.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="Microsoft.Xna.Framework.GamerServices"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
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></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B>Guide.</B><B><A HREF="../../Microsoft/Xna/Framework/GamerServices/Guide.html#DelayNotifications(System.TimeSpan)">DelayNotifications</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> delay)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="Microsoft.Xna.Framework.Input.Touch"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
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></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>GestureSample.</B><B><A HREF="../../Microsoft/Xna/Framework/Input/Touch/GestureSample.html#Timestamp">Timestamp</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the starting time for this touch gesture sample.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><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></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="Microsoft.Xna.Framework.Net"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
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></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>QualityOfService.</B><B><A HREF="../../Microsoft/Xna/Framework/Net/QualityOfService.html#getAverageRoundTripTime()">getAverageRoundTripTime</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the average (median) round trip time of all the network packets that were sent during the quality of service measurement process.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>QualityOfService.</B><B><A HREF="../../Microsoft/Xna/Framework/Net/QualityOfService.html#getMinimumRoundTripTime()">getMinimumRoundTripTime</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the minimum round trip time of any network packet that was sent during the quality of service measurement process.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="System"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
Uses of <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> in <A HREF="../../System/package-summary.html">System</A></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../System/package-summary.html">System</A> declared as <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#MaxValue">MaxValue</A></B></CODE>
|
|
|
|
<BR>
|
|
Represents the maximum TimeSpan value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#MinValue">MinValue</A></B></CODE>
|
|
|
|
<BR>
|
|
Represents the minimum TimeSpan value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Zero">Zero</A></B></CODE>
|
|
|
|
<BR>
|
|
Represents the zero TimeSpan value.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../System/package-summary.html">System</A> that return <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Add(System.TimeSpan)">Add</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> ts)</CODE>
|
|
|
|
<BR>
|
|
Adds the specified TimeSpan to this instance.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Duration()">Duration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a new TimeSpan object whose value is the absolute value of the current TimeSpan object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromDays(double)">FromDays</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromHours(double)">FromHours</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromMilliseconds(double)">FromMilliseconds</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified number of milliseconds.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromMinutes(double)">FromMinutes</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromSeconds(double)">FromSeconds</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#FromTicks(long)">FromTicks</A></B>(long value)</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan that represents a specified time, where the specification is in units of ticks.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Negate()">Negate</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a TimeSpan whose value is the negated value of this instance.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Parse(java.lang.String)">Parse</A></B>(java.lang.String s)</CODE>
|
|
|
|
<BR>
|
|
Constructs a new TimeSpan object from a time interval specified in a string.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Subtract(System.TimeSpan)">Subtract</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> ts)</CODE>
|
|
|
|
<BR>
|
|
Subtracts the specified TimeSpan from this instance.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">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></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Add(System.TimeSpan)">Add</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> ts)</CODE>
|
|
|
|
<BR>
|
|
Adds the specified TimeSpan to this instance.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Compare(System.TimeSpan, System.TimeSpan)">Compare</A></B>(<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>
|
|
|
|
<BR>
|
|
Compares two TimeSpan values and returns an integer that indicates their relationship.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#CompareTo(System.TimeSpan)">CompareTo</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> value)</CODE>
|
|
|
|
<BR>
|
|
Compares this instance to a specified TimeSpan object and returns an indication of their relative values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Equals(System.TimeSpan)">Equals</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> obj)</CODE>
|
|
|
|
<BR>
|
|
Returns a value indicating whether this instance is equal to a specified TimeSpan object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Equals(System.TimeSpan, System.TimeSpan)">Equals</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns a value indicating whether two specified instances of TimeSpan are equal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A></CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#Subtract(System.TimeSpan)">Subtract</A></B>(<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> ts)</CODE>
|
|
|
|
<BR>
|
|
Subtracts the specified TimeSpan from this instance.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B>TimeSpan.</B><B><A HREF="../../System/TimeSpan.html#TryParse(java.lang.String, System.TimeSpan)">TryParse</A></B>(java.lang.String s,
|
|
<A HREF="../../System/TimeSpan.html" title="class in System">TimeSpan</A> result)</CODE>
|
|
|
|
<BR>
|
|
Constructs a new TimeSpan object from a time interval specified in a string.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../System/TimeSpan.html" title="class in System"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
PREV
|
|
NEXT</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?System/\class-useTimeSpan.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="TimeSpan.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|