1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Description of tango_shift_time</title> |
---|
6 | <meta name="keywords" content="tango_shift_time"> |
---|
7 | <meta name="description" content="TANGO_SHIFT_TIME - TANGO time is GMT - Convert to real time (East European"> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
10 | <meta name="robots" content="index, follow"> |
---|
11 | <link type="text/css" rel="stylesheet" href="../../../m2html.css"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <a name="_top"></a> |
---|
15 | <div><a href="../../../index.html">Home</a> > <a href="../../index.html">mml</a> > <a href="#">links</a> > <a href="index.html">tango</a> > tango_shift_time.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for mml/links/tango <img alt=">" border="0" src="../../../right.png"></a></td></tr></table>--> |
---|
19 | |
---|
20 | <h1>tango_shift_time |
---|
21 | </h1> |
---|
22 | |
---|
23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
24 | <div class="box"><strong>TANGO_SHIFT_TIME - TANGO time is GMT - Convert to real time (East European</strong></div> |
---|
25 | |
---|
26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
27 | <div class="box"><strong>function realTime = tango_shift_time(tangoTime) </strong></div> |
---|
28 | |
---|
29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
30 | <div class="fragment"><pre class="comment">TANGO_SHIFT_TIME - TANGO time is GMT - Convert to real time (East European |
---|
31 | Time) |
---|
32 | |
---|
33 | INPUTS |
---|
34 | 1. tangoTime |
---|
35 | 2. realTime - true time = tango time shifted by 1 or 2 hours depending |
---|
36 | on the month (winter/summer time) |
---|
37 | |
---|
38 | NOTES |
---|
39 | 1. This function is global but has to be modified twice a year |
---|
40 | BINDING BUG: add an hour or two</pre></div> |
---|
41 | |
---|
42 | <!-- crossreference --> |
---|
43 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
44 | This function calls: |
---|
45 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
46 | </ul> |
---|
47 | This function is called by: |
---|
48 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
49 | <li><a href="readattribute.html" class="code" title="function [Data, tout, DataTime, ErrorFlag] = readattribute(tangolist, varargin)">readattribute</a> READATTRIBUTE - Reads a list of Tango attributes</li></ul> |
---|
50 | <!-- crossreference --> |
---|
51 | |
---|
52 | |
---|
53 | <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
54 | <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function realTime = tango_shift_time(tangoTime)</a> |
---|
55 | 0002 <span class="comment">%TANGO_SHIFT_TIME - TANGO time is GMT - Convert to real time (East European</span> |
---|
56 | 0003 <span class="comment">%Time)</span> |
---|
57 | 0004 <span class="comment">%</span> |
---|
58 | 0005 <span class="comment">% INPUTS</span> |
---|
59 | 0006 <span class="comment">% 1. tangoTime</span> |
---|
60 | 0007 <span class="comment">% 2. realTime - true time = tango time shifted by 1 or 2 hours depending</span> |
---|
61 | 0008 <span class="comment">% on the month (winter/summer time)</span> |
---|
62 | 0009 <span class="comment">%</span> |
---|
63 | 0010 <span class="comment">% NOTES</span> |
---|
64 | 0011 <span class="comment">% 1. This function is global but has to be modified twice a year</span> |
---|
65 | 0012 <span class="comment">% BINDING BUG: add an hour or two</span> |
---|
66 | 0013 |
---|
67 | 0014 <span class="comment">%</span> |
---|
68 | 0015 <span class="comment">% Written by Laurent S. Nadolski</span> |
---|
69 | 0016 |
---|
70 | 0017 realTime = tangoTime + 1*0.04166666666667;</pre></div> |
---|
71 | <hr><address>Generated on Mon 21-May-2007 15:29:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
72 | </body> |
---|
73 | </html> |
---|