Skip to main content
[ This file is autogenerated from apexdoc ]

AqLocale

Common methods for working with timezone, language, etc.

Group apex/post copy tasks

Methods​

public static String getTimeZoneSidKeyForState(String stateCode)​

Returns corresponding TimeZoneSidKey for a US state

public static Time parseTime(String timeString)​

Parses 24-hour time value from string

public static Datetime getLocalDateTime(String timeZoneSidKey, Date dateValue, Time timeValue)​

Takes the individual date and time considered to be in the specified timezone and returns corresponding datetime adjusted for timezone.