|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2020 the original author or authors. |
| 2 | + * Copyright 2002-2021 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
36 | 36 | *
|
37 | 37 | * <p>For ISO-based formatting, set the {@link #iso} attribute to be the desired {@link ISO} format,
|
38 | 38 | * such as {@link ISO#DATE}. For custom formatting, set the {@link #pattern} attribute to be the
|
39 |
| - * DateTime pattern, such as {@code yyyy/MM/dd hh:mm:ss a}. |
| 39 | + * DateTime pattern, such as {@code "yyyy/MM/dd hh:mm:ss a"}. |
40 | 40 | *
|
41 | 41 | * <p>Each attribute is mutually exclusive, so only set one attribute per annotation instance
|
42 |
| - * (the one most convenient one for your formatting needs). |
43 |
| - * When the pattern attribute is specified, it takes precedence over both the style and ISO attribute. |
44 |
| - * When the {@link #iso} attribute is specified, it takes precedence over the style attribute. |
45 |
| - * When no annotation attributes are specified, the default format applied is style-based |
46 |
| - * with a style code of 'SS' (short date, short time). |
| 42 | + * (the one most convenient for your formatting needs). |
| 43 | + * |
| 44 | + * <ul> |
| 45 | + * <li>When the pattern attribute is specified, it takes precedence over both the style and ISO attribute.</li> |
| 46 | + * <li>When the {@link #iso} attribute is specified, it takes precedence over the style attribute.</li> |
| 47 | + * <li>When no annotation attributes are specified, the default format applied is style-based |
| 48 | + * with a style code of 'SS' (short date, short time).</li> |
| 49 | + * </ul> |
47 | 50 | *
|
48 | 51 | * @author Keith Donald
|
49 | 52 | * @author Juergen Hoeller
|
|
0 commit comments