Aggiunto metodo empty
git-svn-id: svn://10.65.10.50/trunk@4524 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b511a986bf
commit
c5419e2e34
@ -170,6 +170,11 @@ bool TDate::is_end_month()
|
|||||||
return day() == last_day(month(),year());
|
return day() == last_day(month(),year());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool TDate::empty()
|
||||||
|
{
|
||||||
|
return _val == 0;
|
||||||
|
}
|
||||||
|
|
||||||
int TDate::wday() const
|
int TDate::wday() const
|
||||||
{
|
{
|
||||||
// day of week (1=lunedi)
|
// day of week (1=lunedi)
|
||||||
|
@ -100,6 +100,8 @@ public:
|
|||||||
bool is_end_month();
|
bool is_end_month();
|
||||||
// @cmember Setta il giorno del mese all'ultimo possibile
|
// @cmember Setta il giorno del mese all'ultimo possibile
|
||||||
void set_end_month();
|
void set_end_month();
|
||||||
|
// @cmember Controlla se la data è nulla
|
||||||
|
bool empty();
|
||||||
|
|
||||||
// @cmember Setta la il giorno
|
// @cmember Setta la il giorno
|
||||||
void set_day(int n);
|
void set_day(int n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user