~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to tools/Nant/doc/help/functions/datetime.parse(System.String).html

  • Committer: Manuel de la Pena
  • Date: 2010-07-08 13:22:59 UTC
  • Revision ID: mandel@themacaque.com-20100708132259-y1jgyuyqfe9stt8u
Updated build script to run tests and added all the required tools so far.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <!-- Documenting Parse-->
 
4
  <head>
 
5
    <meta http-equiv="Content-Language" content="en-ca" />
 
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
7
    <link rel="stylesheet" type="text/css" href="../style.css" />
 
8
    <title>datetime::parse Function</title>
 
9
  </head>
 
10
  <body>
 
11
    <table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
 
12
      <tr>
 
13
        <td class="NavBar-Cell">
 
14
          <a href="http://nant.sourceforge.net">
 
15
            <b>NAnt</b>
 
16
          </a>
 
17
          <img alt="-&gt;" src="../images/arrow.gif" />
 
18
          <a href="../index.html">Help</a>
 
19
          <img alt="-&gt;" src="../images/arrow.gif" />
 
20
          <a href="index.html">Function Reference</a>
 
21
          <img alt="-&gt;" src="../images/arrow.gif" /> datetime::parse</td>
 
22
        <td class="NavBar-Cell" align="right">
 
23
                        v0.90</td>
 
24
      </tr>
 
25
    </table>
 
26
    <h1>datetime::parse</h1>
 
27
    <p> Converts the specified string representation of a date and time to its <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> equivalent. </p>
 
28
    <h3>Usage</h3>
 
29
    <code>datetime datetime::parse(<span class="parameter">s</span>)
 
30
            </code>
 
31
    <p />
 
32
    <h3>Parameters</h3>
 
33
    <div class="table">
 
34
      <table>
 
35
        <tr>
 
36
          <th>Name</th>
 
37
          <th>Type</th>
 
38
          <th>Description</th>
 
39
        </tr>
 
40
        <tr>
 
41
          <td>s</td>
 
42
          <td>string</td>
 
43
          <td>A string containing a date and time to convert.</td>
 
44
        </tr>
 
45
      </table>
 
46
    </div>
 
47
    <h3>Return Value</h3> A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> equivalent to the date and time contained in <i>s</i>. <h3>Exceptions</h3>
 
48
            The function will fail in any of the following circumstances:
 
49
            <div style="margin-left: 40px;"><ul><li><i>s</i> does not contain a valid string representation of a date and time.</li></ul></div><h3>Remarks</h3> The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationDateTimeFormatInfoClassTopic.asp">DateTimeFormatInfo</a> for the invariant culture is used to supply formatting information about <i>s</i>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.90.3780.0)
 
50
            </div></body>
 
51
</html>
 
 
b'\\ No newline at end of file'