You can process subsecond data up to nanoseconds in the Java code. When you configure the settings to use nanoseconds in datetime values, the generated Java code converts the transformation Date/Time datatype to the Java BigDecimal datatype, which has precision to the nanosecond.
By default, the generated Java code converts the transformation Date/Time datatype to the Java Long datatype, which has precision to the millisecond.