TimeConverters.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: TimeConverters.hpp 70 2006-08-01 18:36:21Z ehagen $"
00002 
00003 
00004 
00005 #ifndef GPSTK_TIMECONVERTERS_HPP
00006 #define GPSTK_TIMECONVERTERS_HPP
00007 
00008 //============================================================================
00009 //
00010 //  This file is part of GPSTk, the GPS Toolkit.
00011 //
00012 //  The GPSTk is free software; you can redistribute it and/or modify
00013 //  it under the terms of the GNU Lesser General Public License as published
00014 //  by the Free Software Foundation; either version 2.1 of the License, or
00015 //  any later version.
00016 //
00017 //  The GPSTk is distributed in the hope that it will be useful,
00018 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 //  GNU Lesser General Public License for more details.
00021 //
00022 //  You should have received a copy of the GNU Lesser General Public
00023 //  License along with GPSTk; if not, write to the Free Software Foundation,
00024 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 //  
00026 //  Copyright 2004, The University of Texas at Austin
00027 //
00028 //============================================================================
00029 
00030 namespace gpstk
00031 {
00045    void convertJDtoCalendar( long jd, 
00046                              int& iyear, 
00047                              int& imonth, 
00048                              int& iday )
00049       throw();
00050    
00064    long convertCalendarToJD( int iyear, 
00065                              int imonth,
00066                              int iday ) 
00067       throw();
00068    
00075    void convertSODtoTime( double sod,
00076                           int& hh, 
00077                           int& mm, 
00078                           double& sec ) 
00079       throw();
00080    
00087    double convertTimeToSOD( int hh,
00088                             int mm, 
00089                             double sec ) 
00090       throw();
00091 
00092 } // namespace
00093 
00094 #endif // GPSTK_TIMECONVERTERS_HPP

Generated on Tue May 22 03:31:02 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1