BFLibC 0.1
C Library
|
Functions | |
BFTime | BFTimeGetCurrentTime () |
int | BFTimeGetStructTMLocal (BFTime time, struct tm *tm) |
int | BFTimeGetStructTMUTC (BFTime time, struct tm *tm) |
int | BFTimeGetCurrentDateTime (BFDateTime *dt) |
void | _BFTimeCastTMToBFDateTime (struct tm *tm, BFDateTime *dt) |
int | BFTimeGetDateTimeUTC (BFTime tin, BFDateTime *dt) |
int | BFTimeGetDateTimeLocal (BFTime tin, BFDateTime *dt) |
void | BFTimeSleep (BFTime t) |
Variables | |
const char * | kBFTimeMonthStringJanuaryFull = "January" |
const char * | kBFTimeMonthStringFebruaryFull = "February" |
const char * | kBFTimeMonthStringMarchFull = "March" |
const char * | kBFTimeMonthStringAprilFull = "April" |
const char * | kBFTimeMonthStringMayFull = "May" |
const char * | kBFTimeMonthStringJuneFull = "June" |
const char * | kBFTimeMonthStringJulyFull = "July" |
const char * | kBFTimeMonthStringAugustFull = "August" |
const char * | kBFTimeMonthStringSeptemberFull = "September" |
const char * | kBFTimeMonthStringOctoberFull = "October" |
const char * | kBFTimeMonthStringNovemberFull = "November" |
const char * | kBFTimeMonthStringDecemberFull = "December" |
void _BFTimeCastTMToBFDateTime | ( | struct tm * | tm, |
BFDateTime * | dt ) |
int BFTimeGetCurrentDateTime | ( | BFDateTime * | dt | ) |
Returns date for user's current timezone
BFTime BFTimeGetCurrentTime | ( | ) |
Returns current time since 1970 Jan 1st
int BFTimeGetDateTimeLocal | ( | BFTime | t, |
BFDateTime * | dt ) |
Returns date for user's current timezone
int BFTimeGetDateTimeUTC | ( | BFTime | tin, |
BFDateTime * | dt ) |
int BFTimeGetStructTMLocal | ( | BFTime | time, |
struct tm * | tm ) |
Converts time to struct tm expressed in user's local time
int BFTimeGetStructTMUTC | ( | BFTime | time, |
struct tm * | tm ) |
Converts time to struct tm expressed in UTC
void BFTimeSleep | ( | BFTime | t | ) |
sleeps for BFTime
const char* kBFTimeMonthStringAprilFull = "April" |
const char* kBFTimeMonthStringAugustFull = "August" |
const char* kBFTimeMonthStringDecemberFull = "December" |
const char* kBFTimeMonthStringFebruaryFull = "February" |
const char* kBFTimeMonthStringJanuaryFull = "January" |
author: Brando date: 3/8/23
const char* kBFTimeMonthStringJulyFull = "July" |
const char* kBFTimeMonthStringJuneFull = "June" |
const char* kBFTimeMonthStringMarchFull = "March" |
const char* kBFTimeMonthStringMayFull = "May" |
const char* kBFTimeMonthStringNovemberFull = "November" |
const char* kBFTimeMonthStringOctoberFull = "October" |
const char* kBFTimeMonthStringSeptemberFull = "September" |