VFTime

C Specification


#include <revolution/vf.h>

typedef struct VFTime {
    s32		sec;	/* Second (0 - 59) */
    s32		min;	/* Minute (0 - 59) */
    s32		hour;	/* Hour (0 - 23) */
    s32		day;	/* Day (1 - 31) */
    s32		month;	/* Month (1 - 12) */
    s32		year;	/* Year (1 - 65534) */
} VFTime;

Description

This is the structure for the timestamp configured with VFSetTimeStampCallback.

sec The seconds. Sets a value between 0 and 59.
If a leap second (60) has been configured, it is treated as 60.
min The minute. Sets a value between 0 and 59.
hour The hour. Sets a value between 0 and 23.
day The day. Sets a value between 1 and 31.
sec The month. Sets a value between 1 and 12.
sec The year. Sets a value between 1 and 65534.

See Also

VFSetTimeStampCallback

Revision History

2006/04/27 Initial version.


CONFIDENTIAL