| Return Type | Function name | Arguments |
|---|---|---|
| unsigned int | hzXDate::DaysInYear | (void) |
Declared in file: hzDate.h
Defined in file : hzDate.cpp
Function Logic:
Function body:
unsigned int hzXDate::DaysInYear (void)
{
uint32_t d ;
d = m_hour / 24;
for (; d >&eq; DAYS_IN_4C ; d -= DAYS_IN_4C) ;
for (; d >&eq; DAYS_IN_1C ; d -= DAYS_IN_1C) ;
for (; d >&eq; DAYS_IN_4Y ; d -= DAYS_IN_4Y) ;
if (d >&eq; DAYS_IN_LY)
{
d -= DAYS_IN_LY ;
for (; d >&eq; DAYS_IN_1Y ; d -= DAYS_IN_1Y) ;
}
return d ;
}