org.gstreamer.lowlevel
Interface GstDateTimeAPI

All Superinterfaces:
com.sun.jna.Library

public interface GstDateTimeAPI
extends com.sun.jna.Library

GstDateTime functions A date, time and timezone structure Struct to store date, time and timezone information altogether. GstDateTime is refcounted and immutable. Date information is handled using the proleptic Gregorian calendar. Provides basic creation functions and accessor functions to its fields.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static GstDateTimeAPI GSTDATETIME_API
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 int gst_date_time_get_day(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_hour(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_microsecond(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_minute(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_month(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_second(com.sun.jna.Pointer datetime)
           
 float gst_date_time_get_time_zone_offset(com.sun.jna.Pointer datetime)
           
 int gst_date_time_get_year(com.sun.jna.Pointer datetime)
           
 com.sun.jna.Pointer gst_date_time_new_from_unix_epoch_local_time(long secs)
           
 com.sun.jna.Pointer gst_date_time_new_from_unix_epoch_utc(long secs)
           
 com.sun.jna.Pointer gst_date_time_new_local_time(int year, int month, int day, int hour, int minute, double seconds)
           
 com.sun.jna.Pointer gst_date_time_new_now_local_time()
           
 com.sun.jna.Pointer gst_date_time_new_now_utc()
           
 com.sun.jna.Pointer gst_date_time_new(float tzoffset, int year, int month, int day, int hour, int minute, double seconds)
           
 com.sun.jna.Pointer gst_date_time_ref(com.sun.jna.Pointer datetime)
           
 void gst_date_time_unref(com.sun.jna.Pointer datetime)
           
 

Field Detail

GSTDATETIME_API

static final GstDateTimeAPI GSTDATETIME_API
Method Detail

gst_date_time_get_year

int gst_date_time_get_year(com.sun.jna.Pointer datetime)

gst_date_time_get_month

int gst_date_time_get_month(com.sun.jna.Pointer datetime)

gst_date_time_get_day

int gst_date_time_get_day(com.sun.jna.Pointer datetime)

gst_date_time_get_hour

int gst_date_time_get_hour(com.sun.jna.Pointer datetime)

gst_date_time_get_minute

int gst_date_time_get_minute(com.sun.jna.Pointer datetime)

gst_date_time_get_second

int gst_date_time_get_second(com.sun.jna.Pointer datetime)

gst_date_time_get_microsecond

int gst_date_time_get_microsecond(com.sun.jna.Pointer datetime)

gst_date_time_get_time_zone_offset

float gst_date_time_get_time_zone_offset(com.sun.jna.Pointer datetime)

gst_date_time_new_from_unix_epoch_local_time

com.sun.jna.Pointer gst_date_time_new_from_unix_epoch_local_time(long secs)

gst_date_time_new_from_unix_epoch_utc

com.sun.jna.Pointer gst_date_time_new_from_unix_epoch_utc(long secs)

gst_date_time_new_local_time

com.sun.jna.Pointer gst_date_time_new_local_time(int year,
                                                 int month,
                                                 int day,
                                                 int hour,
                                                 int minute,
                                                 double seconds)

gst_date_time_new

com.sun.jna.Pointer gst_date_time_new(float tzoffset,
                                      int year,
                                      int month,
                                      int day,
                                      int hour,
                                      int minute,
                                      double seconds)

gst_date_time_new_now_local_time

com.sun.jna.Pointer gst_date_time_new_now_local_time()

gst_date_time_new_now_utc

com.sun.jna.Pointer gst_date_time_new_now_utc()

gst_date_time_ref

com.sun.jna.Pointer gst_date_time_ref(com.sun.jna.Pointer datetime)

gst_date_time_unref

void gst_date_time_unref(com.sun.jna.Pointer datetime)