Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 14 Topic 2 Discussion

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 14 Topic 2 Discussion

PDII Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

A developer is creating a Lightning web component to display a calendar. The component will be used in multiple countries. In some locales, the first day of the week is a Monday, or a Saturday, or a Sunday. What should the developer do to ensure the calendar displays accurately for users in every locale?


A.

Query the FirstDayOfWeek field from the Locale for the current user.


B.

Use a custom metadata type to store key/value pairs.


C.

Use UserInfo.getLocale() in the component.


D.

Import the @salesforce/i18n module and use the firstDayOfWeek internationalization property.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.