Interface ILocaleCache
Assembly: fcSDK.dll
Syntax
public interface ILocaleCache
Properties
CacheSetName
Declaration
string CacheSetName { get; }
Property Value
Type |
Description |
System.String |
|
CacheType
Declaration
CacheType CacheType { get; }
Property Value
Countries
Declaration
CountryCollection Countries { get; }
Property Value
DefaultTimeZone
Declaration
ITimeZone DefaultTimeZone { get; }
Property Value
ServerTimeZone
Declaration
ITimeZone ServerTimeZone { get; }
Property Value
TimeZones
Declaration
FCTimeZoneCollection TimeZones { get; }
Property Value
Methods
GetCountryObjID(String)
Declaration
int GetCountryObjID(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Int32 |
|
GetDefaultCountry()
Declaration
Country GetDefaultCountry()
Returns
GetDefaultCountryObjID()
Declaration
int GetDefaultCountryObjID()
Returns
Type |
Description |
System.Int32 |
|
GetDefaultState()
Declaration
StateProvince GetDefaultState()
Returns
GetDefaultState(String)
Declaration
StateProvince GetDefaultState(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
GetDefaultStateObjID(String)
Declaration
int GetDefaultStateObjID(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Int32 |
|
GetDefaultTimeZone()
Declaration
ITimeZone GetDefaultTimeZone()
Returns
GetDefaultTimeZoneObjID()
Declaration
int GetDefaultTimeZoneObjID()
Returns
Type |
Description |
System.Int32 |
|
GetFullStateObjID(String, String)
Declaration
int GetFullStateObjID(string countryName, string fullStateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
fullStateName |
|
Returns
Type |
Description |
System.Int32 |
|
GetServerTimeZoneOffset()
Declaration
int GetServerTimeZoneOffset()
Returns
Type |
Description |
System.Int32 |
|
GetShortTimeZoneObjID(String)
Declaration
int GetShortTimeZoneObjID(string shortName)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
Returns
Type |
Description |
System.Int32 |
|
GetStateObjID(String, String)
Declaration
int GetStateObjID(string countryName, string stateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
stateName |
|
Returns
Type |
Description |
System.Int32 |
|
GetStates()
Declaration
StateCollection GetStates()
Returns
GetStates(String)
Declaration
StateCollection GetStates(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
GetTimeZoneObjID(String)
Declaration
int GetTimeZoneObjID(string fullTimeZoneName)
Parameters
Type |
Name |
Description |
System.String |
fullTimeZoneName |
|
Returns
Type |
Description |
System.Int32 |
|
GetTimeZoneOffset(String)
Declaration
int GetTimeZoneOffset(string fullTimeZoneName)
Parameters
Type |
Name |
Description |
System.String |
fullTimeZoneName |
|
Returns
Type |
Description |
System.Int32 |
|
GetTimeZonesInCountry(String)
Declaration
FCTimeZoneCollection GetTimeZonesInCountry(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
IsCountry(String)
Declaration
bool IsCountry(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Boolean |
|
IsFullState(String, String)
Declaration
bool IsFullState(string countryName, string stateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
stateName |
|
Returns
Type |
Description |
System.Boolean |
|
IsOnDST(String, DateTime)
Declaration
bool IsOnDST(string fullTimeZoneName, DateTime checkDate)
Parameters
Type |
Name |
Description |
System.String |
fullTimeZoneName |
|
System.DateTime |
checkDate |
|
Returns
Type |
Description |
System.Boolean |
|
IsState(String, String)
Declaration
bool IsState(string countryName, string stateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
stateName |
|
Returns
Type |
Description |
System.Boolean |
|
IsState(String, String, Boolean)
Declaration
bool IsState(string countryName, string stateName, bool isFullStateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
stateName |
|
System.Boolean |
isFullStateName |
|
Returns
Type |
Description |
System.Boolean |
|
IsTimeZone(String)
Declaration
bool IsTimeZone(string tzName)
Parameters
Type |
Name |
Description |
System.String |
tzName |
|
Returns
Type |
Description |
System.Boolean |
|
IsTimeZoneInCountry(String, String)
Declaration
bool IsTimeZoneInCountry(string countryName, string tzName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
tzName |
|
Returns
Type |
Description |
System.Boolean |
|
IsTimeZoneInCountry(String, String, Boolean)
Declaration
bool IsTimeZoneInCountry(string countryName, string tzName, bool isFullTzName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
tzName |
|
System.Boolean |
isFullTzName |
|
Returns
Type |
Description |
System.Boolean |
|
SetServerTimeZoneToMachineTimeZone()
Declaration
void SetServerTimeZoneToMachineTimeZone()
UpdateCache()
Declaration
Events
CacheUpdated
Declaration
event EventHandler CacheUpdated
Event Type
Type |
Description |
System.EventHandler |
|