view m-toolbox/classes/+utils/@timetools/timetools.m @ 36:5eb86f6881ef database-connection-manager

Remove commented-out code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% TIMETOOLS class for tools to manipulate the time.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: TIMETOOLS class for tools to manipulate the time.
%
% TIMETOOLS METHODS:
%
%     Static methods:
%       utc2gps         - Converts UTC time to GPS seconds.
%       gps2utc         - Converts GPS seconds to UTC time.
%       reformat_date   - Reformats the input date
%
% HELP:        To see the available static methods, call
%              >> methods utils.timetools
%
% HISTORY:     M Hewitson 26-05-08
%                 Creation
%
% VERSION:     $Id: timetools.m,v 1.3 2009/05/06 15:33:59 nicola Exp $
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

classdef timetools

  %------------------------------------------------
  %--------- Declaration of Static methods --------
  %------------------------------------------------
  methods (Static)

    %-------------------------------------------------------------
    % List other methods
    %-------------------------------------------------------------

    GPS_time = utc2gps(UTC_time) % Converts UTC time to GPS seconds.
    UTC_time = gps2utc(GPS_time) % Converts GPS seconds to UTC time.
    s        = reformat_date(s)  % Reformats the input date
    timeZone = getTimezone(varargin) % Get the list of supported timezones

  end % End static methods

end