view m-toolbox/classes/+utils/@timetools/timetools.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +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