MySQL 8.4.0
Source Code Documentation
mysql_stored_program_runtime_argument_datetime_imp Class Reference

#include <mysql_stored_program_imp.h>

Static Public Member Functions

static mysql_service_status_t get (stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t *year, uint32_t *month, uint32_t *day, uint32_t *hour, uint32_t *minute, uint32_t *second, uint64_t *micro, bool *negative, int32_t *time_zone_offset, bool *is_null) noexcept
 
static mysql_service_status_t set (stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second, uint64_t micro, bool negative, uint32_t decimals, int32_t time_zone_offset, bool time_zone_aware) noexcept
 

Member Function Documentation

◆ get()

mysql_service_status_t mysql_stored_program_runtime_argument_datetime_imp::get ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
uint32_t *  year,
uint32_t *  month,
uint32_t *  day,
uint32_t *  hour,
uint32_t *  minute,
uint32_t *  second,
uint64_t *  micro,
bool *  negative,
int32_t *  time_zone_offset,
bool *  is_null 
)
staticnoexcept
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[out]yearYear part
[out]monthMonth of the year
[out]dayDay of the month
[out]hourHour of the day
[out]minuteMinute of the hour
[out]secondSecond of the minute
[out]microMicro second of the second
[out]negativeIs negative
[out]time_zone_offsetTime zone offset in seconds
[out]is_nullFlag to indicate if value is null
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

◆ set()

mysql_service_status_t mysql_stored_program_runtime_argument_datetime_imp::set ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
uint32_t  year,
uint32_t  month,
uint32_t  day,
uint32_t  hour,
uint32_t  minute,
uint32_t  second,
uint64_t  micro,
bool  negative,
uint32_t  decimals,
int32_t  time_zone_offset,
bool  time_zone_aware 
)
staticnoexcept
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[in]yearYear part
[in]monthMonth of the year
[in]dayDay of the month
[in]hourHour of the day
[in]minuteMinute of the hour
[in]secondSecond of the minute
[in]microMicro second of the second
[in]negativeIs negative
[in]decimalsPrecision information
[in]time_zone_offsetTime zone offset in seconds
[in]time_zone_awareIs time zone aware
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

The documentation for this class was generated from the following files: