java - Android Watch: 'cannot resolve symbol' error on GregorianCalendar? -


i'm trying set watch using calendar class. line:

calendar mcalendar = new gregoriancalendar(timezone.getdefault()) 

gives me error:

cannot resolve symbol gregoriancalendar error

what doing wrong?

perhaps need add

import java.util.gregoriancalendar; 

to java class in question?


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -