Documentation/Source/eric5.Helpviewer.Download.DownloadUtilities.html

changeset 668
b0061a6f7484
child 2367
78f6c8193d37
equal deleted inserted replaced
666:fdd568d3533d 668:b0061a6f7484
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Helpviewer.Download.DownloadUtilities</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.Download.DownloadUtilities</h1>
24
25 <h3>Global Attributes</h3>
26 <table>
27 <tr><td>None</td></tr>
28 </table>
29 <h3>Classes</h3>
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Functions</h3>
34 <table>
35 <tr>
36 <td><a href="#dataString">dataString</a></td>
37 <td>Module function to generate a formatted size string.</td>
38 </tr><tr>
39 <td><a href="#timeString">timeString</a></td>
40 <td>Module function to format the given time.</td>
41 </tr>
42 </table>
43 <hr /><hr />
44 <a NAME="dataString" ID="dataString"></a>
45 <h2>dataString</h2>
46 <b>dataString</b>(<i>size</i>)
47 <p>
48 Module function to generate a formatted size string.
49 </p><dl>
50 <dt><i>size</i></dt>
51 <dd>
52 size to be formatted (integer)
53 </dd>
54 </dl><dl>
55 <dt>Returns:</dt>
56 <dd>
57 formatted data string (string)
58 </dd>
59 </dl>
60 <div align="right"><a href="#top">Up</a></div>
61 <hr /><hr />
62 <a NAME="timeString" ID="timeString"></a>
63 <h2>timeString</h2>
64 <b>timeString</b>(<i>timeRemaining</i>)
65 <p>
66 Module function to format the given time.
67 </p><dl>
68 <dt><i>timeRemaining</i></dt>
69 <dd>
70 time to be formatted (float)
71 </dd>
72 </dl><dl>
73 <dt>Returns:</dt>
74 <dd>
75 time string (string)
76 </dd>
77 </dl>
78 <div align="right"><a href="#top">Up</a></div>
79 <hr />
80 </body></html>

eric ide

mercurial