Axis2/C: axutil_date_time.h File Reference

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axutil_date_time.h File Reference

axis2-util More...

`#include <axutil_utils_defines.h>`
`#include <axutil_env.h>`

Go to the source code of this file.

## Typedefs
typedef struct axutil_date_time | axutil_date_time_t
## Enumerations
enum | axutil_date_time_comp_result_t { AXIS2_DATE_TIME_COMP_RES_FAILURE = -1, AXIS2_DATE_TIME_COMP_RES_UNKNOWN, AXIS2_DATE_TIME_COMP_RES_EXPIRED, AXIS2_DATE_TIME_COMP_RES_EQUAL, AXIS2_DATE_TIME_COMP_RES_NOT_EXPIRED }
## Functions
AXIS2_EXTERN axutil_date_time_t * | axutil_date_time_create (const axutil_env_t *env)
AXIS2_EXTERN axutil_date_time_t * | axutil_date_time_create_with_offset (const axutil_env_t *env, int offset)
AXIS2_EXTERN void | axutil_date_time_free (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t | axutil_date_time_deserialize_time (axutil_date_time_t *date_time, const axutil_env_t *env, const axis2_char_t *time_str)
AXIS2_EXTERN axis2_status_t | axutil_date_time_deserialize_date (axutil_date_time_t *date_time, const axutil_env_t *env, const axis2_char_t *date_str)
AXIS2_EXTERN axis2_status_t | axutil_date_time_deserialize_date_time (axutil_date_time_t *date_time, const axutil_env_t *env, const axis2_char_t *date_time_str)
AXIS2_EXTERN axis2_status_t | axutil_date_time_set_date_time (axutil_date_time_t *date_time, const axutil_env_t *env, int year, int month, int date, int hour, int min, int second, int milliseconds)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_time (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_date (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_date_time (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_date_time_without_millisecond (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_year (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_month (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_date (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_hour (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_minute (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_second (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_msec (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axutil_date_time_comp_result_t | axutil_date_time_compare (axutil_date_time_t *date_time, const axutil_env_t *env, axutil_date_time_t *ref)
AXIS2_EXTERN axutil_date_time_t * | axutil_date_time_utc_to_local (axutil_date_time_t *date_time, const axutil_env_t *env, axis2_bool_t is_positive, int hour, int min)
AXIS2_EXTERN axutil_date_time_t * | axutil_date_time_local_to_utc (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_time_zone_hour (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN int | axutil_date_time_get_time_zone_minute (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t | axutil_date_time_is_time_zone_positive (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t | axutil_date_time_set_time_zone (axutil_date_time_t *date_time, const axutil_env_t *env, axis2_bool_t is_positive, int hour, int min)
AXIS2_EXTERN axis2_status_t | axutil_date_time_deserialize_date_time_with_time_zone (axutil_date_time_t *date_time, const axutil_env_t *env, const axis2_char_t *date_time_str)
AXIS2_EXTERN axis2_status_t | axutil_date_time_deserialize_time_with_time_zone (axutil_date_time_t *date_time, const axutil_env_t *env, const axis2_char_t *time_str)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_date_time_with_time_zone (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | axutil_date_time_serialize_time_with_time_zone (axutil_date_time_t *date_time, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t | axutil_date_time_is_utc (axutil_date_time_t *date_time, const axutil_env_t *env)

## Detailed Description

axis2-util