view m-toolbox/classes/+utils/@timetools/timetools.m @ 10:75007001cbfe
database-connection-manager
Check for binary only objects
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05)
parents
f0afece42f48
children
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
+ −