Class LocaleCache
Inheritance
System.Object
LocaleCache
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: fcSDK.dll
Syntax
public class LocaleCache : ClarifyCacheBase, ILocaleCache
Properties
CacheSetName
Declaration
public override string CacheSetName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
CacheType
Declaration
public override CacheType CacheType { get; }
Property Value
Overrides
Countries
Declaration
public CountryCollection Countries { get; }
Property Value
DefaultTimeZone
Declaration
public ITimeZone DefaultTimeZone { get; }
Property Value
ServerTimeZone
Declaration
public ITimeZone ServerTimeZone { get; }
Property Value
TimeZones
Declaration
public FCTimeZoneCollection TimeZones { get; }
Property Value
Methods
GetCountryObjID(String)
Declaration
public int GetCountryObjID(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Int32 |
|
GetDefaultCountry()
Declaration
public Country GetDefaultCountry()
Returns
GetDefaultCountryObjID()
Declaration
public int GetDefaultCountryObjID()
Returns
Type |
Description |
System.Int32 |
|
GetDefaultState()
Declaration
public StateProvince GetDefaultState()
Returns
GetDefaultState(String)
Declaration
public StateProvince GetDefaultState(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
GetDefaultStateObjID(String)
Declaration
public int GetDefaultStateObjID(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Int32 |
|
GetDefaultTimeZone()
Declaration
public ITimeZone GetDefaultTimeZone()
Returns
GetDefaultTimeZoneObjID()
Declaration
public int GetDefaultTimeZoneObjID()
Returns
Type |
Description |
System.Int32 |
|
GetFullStateObjID(String, String)
Declaration
public int GetFullStateObjID(string countryName, string fullStateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
fullStateName |
|
Returns
Type |
Description |
System.Int32 |
|
GetServerTimeZoneOffset()
Declaration
public int GetServerTimeZoneOffset()
Returns
Type |
Description |
System.Int32 |
|
GetShortTimeZoneObjID(String)
Declaration
public int GetShortTimeZoneObjID(string shortName)
Parameters
Type |
Name |
Description |
System.String |
shortName |
|
Returns
Type |
Description |
System.Int32 |
|
GetStateObjID(String, String)
Declaration
public int GetStateObjID(string countryName, string stateName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
System.String |
stateName |
|
Returns
Type |
Description |
System.Int32 |
|
GetStates()
Declaration
public StateCollection GetStates()
Returns
GetStates(String)
Declaration
public StateCollection GetStates(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
GetTimeZoneObjID(String)
Declaration
public int GetTimeZoneObjID(string fullTimeZoneName)
Parameters
Type |
Name |
Description |
System.String |
fullTimeZoneName |
|
Returns
Type |
Description |
System.Int32 |
|
GetTimeZoneOffset(String)
Declaration
public int GetTimeZoneOffset(string fullTimeZoneName)
Parameters
Type |
Name |
Description |
System.String |
fullTimeZoneName |
|
Returns
Type |
Description |
System.Int32 |
|
GetTimeZonesInCountry(String)
Declaration
public FCTimeZoneCollection GetTimeZonesInCountry(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
InitCacheData()
Declaration
protected override object InitCacheData()
Returns
Type |
Description |
System.Object |
|
Overrides
IsCountry(String)
Declaration
public bool IsCountry(string countryName)
Parameters
Type |
Name |
Description |
System.String |
countryName |
|
Returns
Type |
Description |
System.Boolean |
|
IsFullState(String, String)
Declaration
public 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
public 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
public 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
public 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
public bool IsTimeZone(string tzName)
Parameters
Type |
Name |
Description |
System.String |
tzName |
|
Returns
Type |
Description |
System.Boolean |
|
IsTimeZoneInCountry(String, String)
Declaration
public 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
public 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 |
|
LoadCacheData(Object)
Declaration
protected override void LoadCacheData(object cacheData)
Parameters
Type |
Name |
Description |
System.Object |
cacheData |
|
Overrides
SetNameAndParameters(String, String)
Declaration
protected override void SetNameAndParameters(string name, string parameters)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
parameters |
|
Overrides
SetServerTimeZoneToMachineTimeZone()
Declaration
public void SetServerTimeZoneToMachineTimeZone()
Implements