Commit 92c011d6 authored by R.W.Majeed's avatar R.W.Majeed

javadoc

parent eee998eb
......@@ -106,6 +106,11 @@ public class DateTimeAccuracy implements Temporal, Comparable<DateTimeAccuracy>
/**
* Get the accuracy for the date time object.
* <p>
* Supported accuracy values are {@link ChronoUnit#YEARS}, {@link ChronoUnit#MONTHS},
* {@link ChronoUnit#DAYS}, {@link ChronoUnit#HOURS}, {@link ChronoUnit#MINUTES} and
* {@link ChronoUnit#SECONDS}
* <p>
* @return accuracy
*/
public ChronoUnit getAccuracy(){return accuracy;}
......
......@@ -19,7 +19,7 @@ public interface Transformation {
* (passed to the generatedReceiver).
* @param fact observation to transform
* @param generatedReceiver receiver for facts generated by the transformation
* @return new transformed observation or empty optional if it should be removed
* @return new/original transformed observation or null if it should be removed
* @throws TransformationException transformation error
*/
Observation transform(Observation fact, Consumer<Observation> generatedReceiver) throws TransformationException;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment