code: public Date getDate() {
          if (date == null) {
              if (getContext() != null) {
                  date = context.now();
              }
          }
          return date;
      }
docs: Get the <code>Date</code> of the API method invocation.
  @return The <code>Date</code> or <code>null</code> if not available.