GnuCash  5.6-150-g038405b370+
Data Structures | Functions
datecell.h File Reference
#include <time.h>
#include "basiccell.h"
#include "qof.h"

Go to the source code of this file.

Data Structures

struct  DateCell
 The DateCell object implements a date handling cell. More...
 

Functions

BasicCell * gnc_date_cell_new (void)
 installs a callback to handle date recording
 
void gnc_date_cell_set_value (DateCell *cell, int day, int mon, int year)
 Accepts a numeric date and sets the contents of the date cell to that value. More...
 
void gnc_date_cell_set_value_secs (DateCell *cell, time64 secs)
 Sets the contents of the cell with seconds before or since the Unix epoch. More...
 
void gnc_date_cell_commit (DateCell *cell)
 Commits any pending changes to the value of the cell. More...
 
void gnc_date_cell_get_date (DateCell *cell, time64 *time, gboolean warn)
 Set a time64 to the value in the DateCell. More...