Skip to content

Commit 784c3eb

Browse files
Update calendaridentifiers.md
clean up
1 parent f2dc6d0 commit 784c3eb

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

windows.globalization/calendaridentifiers.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,20 @@ Contains the calendar identifiers for the supported calendars, as static propert
2626
| 1607 | 14393 | VietnameseLunar |
2727

2828
## -examples
29-
Using the [Windows.Globalization.Calendar](calendar.md) API,
29+
30+
The following example shows how to specify a [Calendar](calendar.md) system using the [ChangeCalendarSystem](changecalendarsystem.md) method.
31+
3032
```
3133
winrt::Windows::Globalization::Calendar calendar;
3234
calendar.ChangeCalendarSystem(winrt::Windows::Globalization::CalendarIdentifiers::Gregorian);
35+
// Perform Gregorian calendar calculations.
3336
...
34-
// Perform some Gregorian-dependent calculations
35-
...
37+
3638
calendar.ChangeCalendarSystem(winrt::Windows::Globalization::CalendarIdentifiers::Hebrew);
37-
// Perform Hebrew calendar calculations
39+
// Perform Hebrew calendar calculations.
40+
...
3841
```
42+
3943
## -see-also
4044

41-
[Date and time formatting sample (Windows 10)](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/DateTimeFormatting), [Calendar sample (Windows 10)](https://go.microsoft.com/fwlink/p/?LinkId=624043),
45+
[Date and time formatting sample (Windows 10)](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/DateTimeFormatting), [Calendar sample (Windows 10)](https://go.microsoft.com/fwlink/p/?LinkId=624043)

0 commit comments

Comments
 (0)