I wanted to add a field where it calculates the age of a person, thus --> Birth date - Now
I tried to implement this guide. [see the Datetime Now Example].
Somehow I got an error said cannot resolve symbol [zdt].
Then, I suspect that zdt is the brief term for ZonedDateTime. I changed the zdt to ZonedDateTime, then I got an error said static method [java.time.ZonedDateTime, toInstant/0] not found. Idk what's wrong here?
Do we need to define the parameter "now" as in the Input? Where do we do that? How?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.