Skip to content

mattermostmodelsusers Timezone

BigMakCode edited this page Aug 5, 2024 · 1 revision

Timezone Public class

Description

User timezone.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph Mattermost.Models.Users
  Mattermost.Models.Users.Timezone[[Timezone]]
  end
Loading

Members

Properties

Public properties

Type Name Methods
string AutomaticTimezone
This value is set automatically when the "useAutomaticTimezone" is set to "true".
get, set
string ManualTimezone
Value when setting manually the timezone, i.e. "Europe/Berlin".
get, set
TimeZoneInfo TimeZoneInfo
Current user timezone object.
get
string UseAutomaticTimezone
Set to "true" to use the browser/system timezone, "false" to set manually. Defaults to "true".
get, set

Details

Summary

User timezone.

Constructors

Timezone

public Timezone()

Properties

AutomaticTimezone

public string AutomaticTimezone { get; set; }
Summary

This value is set automatically when the "useAutomaticTimezone" is set to "true".

ManualTimezone

public string ManualTimezone { get; set; }
Summary

Value when setting manually the timezone, i.e. "Europe/Berlin".

UseAutomaticTimezone

public string UseAutomaticTimezone { get; set; }
Summary

Set to "true" to use the browser/system timezone, "false" to set manually. Defaults to "true".

TimeZoneInfo

public TimeZoneInfo TimeZoneInfo { get; }
Summary

Current user timezone object.

Generated with ModularDoc

Clone this wiki locally