source: MML/trunk/mml/doc_html/mml/links/tango/tango_shift_time.html @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 3.8 KB
Line 
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 &copy; 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> &gt;  <a href="../../index.html">mml</a> &gt; <a href="#">links</a> &gt; <a href="index.html">tango</a> &gt; 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">&nbsp;Master index</a></td>
18<td align="right"><a href="index.html">Index for mml/links/tango&nbsp;<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
31Time)
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>
44This function calls:
45<ul style="list-style-image:url(../../../matlabicon.gif)">
46</ul>
47This 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>
550002 <span class="comment">%TANGO_SHIFT_TIME - TANGO time is GMT - Convert to real time (East European</span>
560003 <span class="comment">%Time)</span>
570004 <span class="comment">%</span>
580005 <span class="comment">%  INPUTS</span>
590006 <span class="comment">%  1. tangoTime</span>
600007 <span class="comment">%  2. realTime - true time = tango time shifted by 1 or 2 hours depending</span>
610008 <span class="comment">%  on the month (winter/summer time)</span>
620009 <span class="comment">%</span>
630010 <span class="comment">%  NOTES</span>
640011 <span class="comment">%  1. This function is global but has to be modified twice a year</span>
650012 <span class="comment">%     BINDING BUG: add an hour or two</span>
660013
670014 <span class="comment">%</span>
680015 <span class="comment">% Written by Laurent S. Nadolski</span>
690016
700017 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> &copy; 2003</address>
72</body>
73</html>
Note: See TracBrowser for help on using the repository browser.