Project

General

Profile

« Previous | Next » 

Revision ff02c87a

Added by Andreas Müller almost 3 years ago

minor

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/format/reference/OriginalSourceFormatter.java
27 27
    private final boolean withYearBrackets;
28 28

  
29 29
    public static OriginalSourceFormatter INSTANCE = new OriginalSourceFormatter(false);
30
    public static OriginalSourceFormatter INSTANCE_WITH_BRACKETS = new OriginalSourceFormatter(true);
30

  
31
    //this can be used e.g. for in-text references, like "... following the opinion of Autor (2000: 22) we posit that ..."
32
    public static OriginalSourceFormatter INSTANCE_WITH_YEAR_BRACKETS = new OriginalSourceFormatter(true);
31 33

  
32 34
    /**
33 35
      * @param withYearBrackets if <code>false</code> the result comes without brackets (default is <code>false</code>)

Also available in: Unified diff