Jump to content

Cipri

Members
  • Posts

    3
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cipri

  1. I am trying this but not working     

     

       int _cunnentDay = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);
            
            _compStart = Calendar.getInstance();
            _compStart.set(Calendar.HOUR_OF_DAY, COMP_START);
            _compStart.set(Calendar.MINUTE, COMP_MIN);
            _compStart.add(Calendar.HOUR_OF_DAY, 24);
            {
                if(_cunnentDay != Calendar.FRIDAY && _cunnentDay != Calendar.SATURDAY && _cunnentDay != Calendar.SUNDAY)
                    _compStart.set(Calendar.DAY_OF_WEEK, _cunnentDay);
            }

×
×
  • Create New...