메소드 | 설명 | |
---|---|---|
AlignWithServerTimezone ( System.DateTime dateTime ) : System.DateTime |
Aligns a date/time with the default timezone.
|
|
AlignWithTimezone ( System.DateTime dateTime ) : System.DateTime |
Aligns a date/time with the User's preferences (if any).
|
|
DeletePreferencesCookie ( ) : void |
Deletes the language and timezone preferences cookie.
|
|
LoadLanguageFromCookie ( ) : string |
Loads the language from a cookie.
|
|
LoadLanguageFromUserData ( ) : string |
Loads the language from the current user's data.
|
|
LoadTimezoneFromCookie ( ) : int? |
Loads the timezone from a cookie.
|
|
LoadTimezoneFromUserData ( ) : int? |
Loads the timezone from the current user's data.
|
|
SavePreferencesInCookie ( string culture, int timezone ) : void |
Saves language and timezone preferences into a cookie.
|
|
SavePreferencesInUserData ( string culture, int timezone ) : bool |
Saves language and timezone preferences into the current user's data.
|
public static AlignWithServerTimezone ( System.DateTime dateTime ) : System.DateTime | ||
dateTime | System.DateTime | The date/time to align. |
리턴 | System.DateTime |
public static AlignWithTimezone ( System.DateTime dateTime ) : System.DateTime | ||
dateTime | System.DateTime | The date/time to align. |
리턴 | System.DateTime |
public static SavePreferencesInCookie ( string culture, int timezone ) : void | ||
culture | string | The culture. |
timezone | int | The timezone. |
리턴 | void |
public static SavePreferencesInUserData ( string culture, int timezone ) : bool | ||
culture | string | The culture. |
timezone | int | The timezone. |
리턴 | bool |