- /*LC.reset(model.day,m_month,m_year)
- screen.calculateLunar(model.day,m_month,m_year)
- screen.state="mainscreen"
- screen.refresh()
- maindatemodel.reset()*/
- fullmonth.state="close";
- fullmonth.toolbar();
- fullmonth.updatedate(model.day, m_month, m_year)
+ if (model.inmonth){
+ fullmonth.updatedate(model.day, m_month, m_year)
+ hold=false;
+ m_day = model.day;
+ fullmonth.state="close";
+ fullmonth.toolbar();
+
+ }else{
+ if (model.isprevmonth){
+ m_month--;
+ if(m_month<=0){
+ m_month=12;
+ m_year--;
+ }
+ }else{
+ m_month++;
+ if (m_month >=13){
+ m_month=1;
+ m_year++;
+ }
+ }
+ fullmonth.reset();
+ }