"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/contrib/tzconv.m" (19 Mar 2019, 430 Bytes) of package /linux/privat/dateutils-0.4.6.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Matlab source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "tzconv.m" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 0.4.5_vs_0.4.6.

    1 % tzconv  convert between timezones
    2 %
    3 % Syntax:
    4 %   d = tzconv(dates, from_zone, to_zone);
    5 %
    6 % Input Arguments:
    7 %   dates     - a vector of matlab dates to be converted
    8 %   from_zone - interpret DATES as coming from FROM_ZONE
    9 %   to_zone   - convert DATEs to TO_ZONE
   10 %
   11 % Output Arguments:
   12 %   d      - vector of dates in the result
   13 %
   14 % Copyright (C) 2019 Sebastian Freundt <freundt@ga-group.nl>
   15 %
   16 % This file is part of dateutils