Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@timetools/timetools.m @ 1:2014ba5b353a database-connection-manager
Remove old code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Sat, 03 Dec 2011 18:13:55 +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