Skip to content

Commit

Permalink
Add another convenience method to set page range
Browse files Browse the repository at this point in the history
Fixes #232
  • Loading branch information
michel-kraemer committed Apr 19, 2024
1 parent 41ce517 commit e928374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions citeproc-java/templates/CSLItemData.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@
"public CSLItemDataBuilder volume(int volume) { volume(String.valueOf(volume)); return this; }",
"public CSLItemDataBuilder page(int page) { page(String.valueOf(page)); return this; }",
"public CSLItemDataBuilder page(int firstPageInRange, int lastPageInRange) { page(firstPageInRange + \"\" + lastPageInRange); return this; }",
"public CSLItemDataBuilder page(String firstPageInRange, String lastPageInRange) { page(firstPageInRange + \"\" + lastPageInRange); return this; }",
"public CSLItemDataBuilder author(String given, String family) { author(new CSLNameBuilder().given(given).family(family).build()); return this; }",
"public CSLItemDataBuilder author(String given, String family, boolean parseNames) { author(new CSLNameBuilder().given(given).family(family).parseNames(parseNames).build()); return this; }",
"public CSLItemDataBuilder collectionEditor(String given, String family) { collectionEditor(new CSLNameBuilder().given(given).family(family).build()); return this; }",
Expand Down

0 comments on commit e928374

Please sign in to comment.