This is not a constructor ... (constructors have an implicit "return type", a class type). It has an explicit return type and, therefore, is not a constructor, but a normal method with a name df.
, new df(...), . , new df().df("x") "" - String df(String).
, :
public class df
{
String dt;
String datestring;
public df(String dtstring) throws Exception
{
dt=dtstring;
...
datestring = newformatter.format(outpdate);
}
}
, : -)
user166390