libSBML C API  libSBML 5.20.4 C API
Loading...
Searching...
No Matches
Date.cpp File Reference

Date_t I/O. More...

Include dependency graph for Date.cpp:

Functions

Date_tDate_clone (const Date_t *date)
 _tCreates_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tDate_t_t _tstructure_t
 
Date_tDate_createFromString (const char *date)
 _tCreates_t _ta_t _tdate_t _tfrom_t _ta_t _tstring_t.
 
Date_tDate_createFromValues (unsigned int year, unsigned int month, unsigned int day, unsigned int hour, unsigned int minute, unsigned int second, unsigned int sign, unsigned int hoursOffset, unsigned int minutesOffset)
 @_tendcond_t
 
void Date_free (Date_t *date)
 _tDestroys_t _tthis_t _tDate_t_t.
 
const char * Date_getDateAsString (Date_t *date)
 _tReturns_t _tthe_t _tDate_t_t _tas_t _ta_t _tstring_t.
 
unsigned int Date_getDay (Date_t *date)
 _tReturns_t _tthe_t _tday_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getHour (Date_t *date)
 _tReturns_t _tthe_t _thour_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getHoursOffset (Date_t *date)
 _tReturns_t _tthe_t _thours_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getMinute (Date_t *date)
 _tReturns_t _tthe_t _tminute_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getMinutesOffset (Date_t *date)
 _tReturns_t _tthe_t _tminutes_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getMonth (Date_t *date)
 _tReturns_t _tthe_t _tmonth_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getSecond (Date_t *date)
 _tReturns_t _tthe_t _tseconds_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getSignOffset (Date_t *date)
 _tReturns_t _tthe_t _tsign_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.
 
unsigned int Date_getYear (Date_t *date)
 _tReturns_t _tthe_t _tyear_t _tfrom_t _tthis_t _tDate_t_t.
 
int Date_representsValidDate (Date_t *date)
 _tReturns_t _ttrue_t _tor_t _tfalse_t _tdepending_t _ton_t _twhether_t _tthis_t _tdate_t _tstructure_t _trepresents_t _ta_t _tvalid_t _tdate_t _tand_t _ttime_t _tvalue_t.
 
int Date_setDateAsString (Date_t *date, const char *str)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tdate_t _tfrom_t _ta_t _tstring_t.
 
int Date_setDay (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tday_t, _tchecking_t _tappropriateness_t.
 
int Date_setHour (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _thour_t, _tchecking_t _tappropriateness_t.
 
int Date_setHoursOffset (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _thour_t, _tchecking_t _tappropriateness_t.
 
int Date_setMinute (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tminute_t, _tchecking_t _tappropriateness_t.
 
int Date_setMinutesOffset (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _tminutes_t, _tchecking_t _tappropriateness_t.
 
int Date_setMonth (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tmonth_t, _tchecking_t _tappropriateness_t.
 
int Date_setSecond (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tsecond_t, _tchecking_t _tappropriateness_t.
 
int Date_setSignOffset (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _tsign_t, _tchecking_t _tappropriateness_t.
 
int Date_setYear (Date_t *date, unsigned int value)
 _tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tyear_t, _tchecking_t _tappropriateness_t.
 

Detailed Description

Date_t I/O.

Author
Sarah Keating

Copyright (C) 2019 jointly by the following organizations: 1. California Institute of Technology, Pasadena, CA, USA 2. University of Heidelberg, Heidelberg, Germany

Copyright (C) 2013-2018 jointly by the following organizations: 1. California Institute of Technology, Pasadena, CA, USA 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK 3. University of Heidelberg, Heidelberg, Germany

Copyright (C) 2009-2013 jointly by the following organizations: 1. California Institute of Technology, Pasadena, CA, USA 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK

Copyright (C) 2006-2008 by the California Institute of Technology, Pasadena, CA, USA

Copyright (C) 2002-2005 jointly by the following organizations: 1. California Institute of Technology, Pasadena, CA, USA 2. Japan Science and Technology Agency, Japan

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation. A copy of the license agreement is provided in the file named "LICENSE.txt" included with this software distribution. It is also available online at http://sbml.org/software/libsbml/license.html

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Function Documentation

◆ Date_clone()

Date_t * Date_clone ( const Date_t date)

_tCreates_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tDate_t_t _tstructure_t

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tcopied_t.

@_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthe_t _tgiven_t _tDate_t_t _tstructure_t.

@_tmemberof_t _tDate_t_t

◆ Date_createFromString()

Date_t * Date_createFromString ( const char *  date)

_tCreates_t _ta_t _tdate_t _tfrom_t _ta_t _tstring_t.

@_tparam_t _tdate_t _ta_t _tstring_t _trepresenting_t _tthe_t _tdate_t.

@_treturn_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tDate_t_t _tstructure_t.

@_tnote_t _tthe_t _tstring_t _tshould_t _tbe_t _tin_t _tW3CDTF_t _tformat_t _tYYYY_t-_tMM_t-_tDDThh_t:_tmm_t:_tssTZD_t (_teg_t _t1997_t-_t07_t-_t16T19_t:_t20_t:_t30_t+_t01_t:_t00_t) _twhere_t _tTZD_t _tis_t _tthe_t _ttime_t _tzone_t _tdesignator_t.

@_tmemberof_t _tDate_t_t

Examples
addModelHistory.c.

◆ Date_createFromValues()

Date_t * Date_createFromValues ( unsigned int  year,
unsigned int  month,
unsigned int  day,
unsigned int  hour,
unsigned int  minute,
unsigned int  second,
unsigned int  sign,
unsigned int  hoursOffset,
unsigned int  minutesOffset 
)

@_tendcond_t

@_tclass_t _tdoc_date_string_format_t

@_tcond_t _tdoxygenIgnored_t

◆ Date_free()

void Date_free ( Date_t date)

_tDestroys_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tfreed_t.

@_tmemberof_t _tDate_t_t

Examples
addModelHistory.c.

◆ Date_getDateAsString()

const char * Date_getDateAsString ( Date_t date)

_tReturns_t _tthe_t _tDate_t_t _tas_t _ta_t _tstring_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tdate_t _tas_t _ta_t _tstring_t.

@_tmemberof_t _tDate_t_t

◆ Date_getDay()

unsigned int Date_getDay ( Date_t date)

_tReturns_t _tthe_t _tday_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tday_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getHour()

unsigned int Date_getHour ( Date_t date)

_tReturns_t _tthe_t _thour_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _thour_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getHoursOffset()

unsigned int Date_getHoursOffset ( Date_t date)

_tReturns_t _tthe_t _thours_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _thours_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getMinute()

unsigned int Date_getMinute ( Date_t date)

_tReturns_t _tthe_t _tminute_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tminute_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getMinutesOffset()

unsigned int Date_getMinutesOffset ( Date_t date)

_tReturns_t _tthe_t _tminutes_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tminutes_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getMonth()

unsigned int Date_getMonth ( Date_t date)

_tReturns_t _tthe_t _tmonth_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tmonth_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getSecond()

unsigned int Date_getSecond ( Date_t date)

_tReturns_t _tthe_t _tseconds_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tseconds_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getSignOffset()

unsigned int Date_getSignOffset ( Date_t date)

_tReturns_t _tthe_t _tsign_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tsign_t _tof_t _tthe_t _toffset_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_getYear()

unsigned int Date_getYear ( Date_t date)

_tReturns_t _tthe_t _tyear_t _tfrom_t _tthis_t _tDate_t_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tqueried_t.

@_treturn_t _tthe_t _tyear_t _tfrom_t _tthis_t _tDate_t_t.

@_tmemberof_t _tDate_t_t

◆ Date_representsValidDate()

int Date_representsValidDate ( Date_t date)

_tReturns_t _ttrue_t _tor_t _tfalse_t _tdepending_t _ton_t _twhether_t _tthis_t _tdate_t _tstructure_t _trepresents_t _ta_t _tvalid_t _tdate_t _tand_t _ttime_t _tvalue_t.

_tThis_t _tmethod_t _tverifies_t _tthat_t _tthe_t _tdate_t/_ttime_t _tvalue_t _tstored_t _tin_t _tthis_t _tstructure_t _tis_t _twell_t-_tformed_t _tand_t _trepresents_t _tplausible_t _tvalues_t. _tA_t _ttime_t _tand_t _tdate_t _tvalue_t _tin_t _tthe_t _tW3C_t _tformat_t _ttakes_t _tthe_t _tform_t _tYYYY_t-_tMM_t-_tDDThh_t:_tmm_t:_tssXHH_t:_tZZ_t (_te_t._tg_t., <_tcode_t>_t1997_t-_t07_t-_t16T19_t:_t20_t:_t30_t+_t01_t:_t00_t</_tcode_t>) _twhere_t _tXHH_t:_tZZ_t _tis_t _tthe_t _ttime_t _tzone_t _toffset_t. _tThis_t _tmethod_t _tchecks_t _tsuch_t _tthings_t _tas_t _twhether_t _tthe_t _tvalue_t _tof_t _tthe_t _tmonth_t _tnumber_t _tis_t _tless_t _tthan_t _tor_t _tequal_t _tto_t _t12_t, _twhether_t _tthe_t _tvalue_t _tof_t _tthe_t _tminutes_t _tnumber_t _tis_t _tless_t _tthan_t _tor_t _tequal_t _tto_t _t59_t, _twhether_t _ta_t _ttime_t _tzone_t _toffset_t _tis_t _tset_t, _tetc_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tchecked_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tdate_t _tis_t _tvalid_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tDate_t_t

◆ Date_setDateAsString()

int Date_setDateAsString ( Date_t date,
const char *  str 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tdate_t _tfrom_t _ta_t _tstring_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tstr_t _tstring_t _trepresenting_t _tthe_t _tdate_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setDay()

int Date_setDay ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tday_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tday_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setHour()

int Date_setHour ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _thour_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _thour_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setHoursOffset()

int Date_setHoursOffset ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _thour_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _thours_t _tof_t _tthe_t _toffset_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setMinute()

int Date_setMinute ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tminute_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tminute_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setMinutesOffset()

int Date_setMinutesOffset ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _tminutes_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tminutes_t _tof_t _tthe_t _toffset_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setMonth()

int Date_setMonth ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tmonth_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tmonth_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setSecond()

int Date_setSecond ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tsecond_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tsecond_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setSignOffset()

int Date_setSignOffset ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _toffset_t _tsign_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tsign_t _tof_t _tthe_t _toffset_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t

◆ Date_setYear()

int Date_setYear ( Date_t date,
unsigned int  value 
)

_tSets_t _tthe_t _tvalue_t _tof_t _tthe_t _tyear_t, _tchecking_t _tappropriateness_t.

@_tparam_t _tdate_t _tthe_t _tDate_t_t _tstructure_t _tto_t _tbe_t _tset_t. @_tparam_t _tvalue_t _tan_t _tunsigned_t _tint_t _trepresenting_t _tthe_t _tyear_t _tto_t _tset_t.

@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_OBJECT_t, _tOperationReturnValues_t_t}

@_tmemberof_t _tDate_t_t