You need to use HijrahDate.dateNow() On Sat, Jul 19, 2025 at 8:13 AM ArbolOneEnterprise <arbol...@hotmail.ca> wrote:
> Apache NetBeans IDE 25 > > Code Snip > import java.time.chrono.HijrahChronology; > import java.time.chrono.HijrahDate; > > public class MyHijrahDate { > private final HijrahDate hijrahDate; > private final HijrahChronology hijrahChronology; > > public MyHijrahDate() { > hijrahDate = HijrahDate().now(); // <-- cannot find symbol ??? > hijrahChronology = hijrahDate.getChronology(); // <-- cannot > find symbol ??? > } > > ------------------ > > Hello everyone. > I don't use any other IDE to test the above code. For a very long time I > have used Netbeans, but this is the first time I am dealing with things > that are not 'westerner' algorithms; Hijrah calendar is definitely new > to me. > Having stated that, NetBeans 25 tells me that it cannot find the > HijrahDate symbol. I thought that if I compiled the code [ Shift + F11 ] > it would force the IDE to find the class, but that was not the case. > > Is there anything else I need to do? What have I missed? > > Thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >