Home > classes > @timespan > get.m

get

PURPOSE ^

GET get timespan properties.

SYNOPSIS ^

function val = get(ts, prop_name)

DESCRIPTION ^

 GET get timespan properties.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: GET get timespan properties.

 CALL:        value = get(ts, 'property');

 EXAMPLES:    name       = get(ts, 'name');
              start      = get(ts, 'start');
              end        = get(ts, 'end');
              timeformat = get(ts, 'timeformat');
              interval   = get(ts, 'interval');
              timezone   = get(ts, 'timezone');
              created    = get(ts, 'created');
              version    = get(ts, 'version');

 VERSION:     $Id: get.m,v 1.1 2008/02/11 17:28:45 ingo Exp $

 HISTORY:     23-07-2007 Diepholz
                 Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function val = get(ts, prop_name)
0002 % GET get timespan properties.
0003 %
0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0005 %
0006 % DESCRIPTION: GET get timespan properties.
0007 %
0008 % CALL:        value = get(ts, 'property');
0009 %
0010 % EXAMPLES:    name       = get(ts, 'name');
0011 %              start      = get(ts, 'start');
0012 %              end        = get(ts, 'end');
0013 %              timeformat = get(ts, 'timeformat');
0014 %              interval   = get(ts, 'interval');
0015 %              timezone   = get(ts, 'timezone');
0016 %              created    = get(ts, 'created');
0017 %              version    = get(ts, 'version');
0018 %
0019 % VERSION:     $Id: get.m,v 1.1 2008/02/11 17:28:45 ingo Exp $
0020 %
0021 % HISTORY:     23-07-2007 Diepholz
0022 %                 Creation
0023 %
0024 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0025 
0026 VERSION       = '$Id: get.m,v 1.1 2008/02/11 17:28:45 ingo Exp $';
0027 CATEGORY      = 'Helper';
0028 DEFAULT_PLIST =  plist('property', '');
0029 
0030 val = generic_get(ts, prop_name, DEFAULT_PLIST, VERSION, CATEGORY);

Generated on Mon 31-Mar-2008 13:54:54 by m2html © 2003