mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Make javadoc <p> style guide compliant
This led to confusion for an open source contributor about how to format code. We don't want to be like, "do as I say, not as I do." https://google.github.io/styleguide/javaguide.html#s7.1.2-javadoc-paragraphs ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122589700
This commit is contained in:
parent
4854f875b0
commit
6f4b059cc9
79 changed files with 395 additions and 386 deletions
|
@ -32,14 +32,14 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* A time of year (month, day, millis of day) that can be stored in a sort-friendly format.
|
||||
* <p>
|
||||
* This is conceptually similar to {@code MonthDay} in Joda or more generally to Joda's
|
||||
*
|
||||
* <p>This is conceptually similar to {@code MonthDay} in Joda or more generally to Joda's
|
||||
* {@code Partial}, but the parts we need are too simple to justify a full implementation of
|
||||
* {@code Partial}.
|
||||
* <p>
|
||||
* For simplicity, the native representation of this class's data is its stored format. This allows
|
||||
* it to be embeddable with no translation needed and also delays parsing of the string on load
|
||||
* until it's actually needed.
|
||||
*
|
||||
* <p>For simplicity, the native representation of this class's data is its stored format. This
|
||||
* allows it to be embeddable with no translation needed and also delays parsing of the string on
|
||||
* load until it's actually needed.
|
||||
*/
|
||||
@Embed
|
||||
public class TimeOfYear extends ImmutableObject {
|
||||
|
@ -53,8 +53,8 @@ public class TimeOfYear extends ImmutableObject {
|
|||
|
||||
/**
|
||||
* Constructs a {@link TimeOfYear} from a {@link DateTime}.
|
||||
* <p>
|
||||
* This handles leap years in an intentionally peculiar way by always treating February 29 as
|
||||
*
|
||||
* <p>This handles leap years in an intentionally peculiar way by always treating February 29 as
|
||||
* February 28. It is impossible to construct a {@link TimeOfYear} for February 29th.
|
||||
*/
|
||||
public static TimeOfYear fromDateTime(DateTime dateTime) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue