Skip to main content

Speos NX library 2025 R2

Timezone Class Reference

Last update: 16.07.2025

Represents a Timezone. More...

Inheritance diagram for Timezone:

Static Public Attributes

str Day = property(fget=__GetDay, fset=__SetDay)
 Gets or sets the day.
 
str Hour = property(fget=__GetHour, fset=__SetHour)
 Gets or sets the hour.
 
str LatitudeDegrees = property(fget=__GetLatitudeDegrees, fset=__SetLatitudeDegrees)
 Gets or sets the latitude degrees.
 
str LatitudeMinutes = property(fget=__GetLatitudeMinutes, fset=__SetLatitudeMinutes)
 Gets or sets the latitude minutes.
 
str LatitudeSeconds = property(fget=__GetLatitudeSeconds, fset=__SetLatitudeSeconds)
 Gets or sets the latitude seconds.
 
str Location = property(fget=__GetLocation, fset=__SetLocation)
 Gets or sets a predefined location.
 
str LongitudeDegrees = property(fget=__GetLongitudeDegrees, fset=__SetLongitudeDegrees)
 Gets or sets the longitude degrees.
 
str LongitudeMinutes = property(fget=__GetLongitudeMinutes, fset=__SetLongitudeMinutes)
 Gets or sets the longitude minutes.
 
str LongitudeSeconds = property(fget=__GetLongitudeSeconds, fset=__SetLongitudeSeconds)
 Gets or sets the longitude seconds.
 
str Minute = property(fget=__GetMinute, fset=__SetMinute)
 Gets or sets the minute.
 
str Month = property(fget=__GetMonth, fset=__SetMonth)
 Gets or sets the month.
 
str TimezoneId = property(fget=__GetTimezoneId, fset=__SetTimezoneId)
 Gets or sets a timezone by Id.
 
str UserDefinedLocation = property(fget=__GetUserDefinedLocation, fset=__SetUserDefinedLocation)
 Gets or sets the property to enable/disable the user defined location.
 
str Year = property(fget=__GetYear, fset=__SetYear)
 Gets or sets the year.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Represents a Timezone.

This class cannot be instantiated.

Member Data Documentation

◆ Day

str Day = property(fget=__GetDay, fset=__SetDay)
static

Gets or sets the day.

Value type: Integer.
Range: [1, 31] (in day).

The default value is the current day.

◆ Hour

str Hour = property(fget=__GetHour, fset=__SetHour)
static

Gets or sets the hour.

Value type: Integer.
Range: [0, 24] (in hour).

The default value is the current hour.

◆ LatitudeDegrees

str LatitudeDegrees = property(fget=__GetLatitudeDegrees, fset=__SetLatitudeDegrees)
static

Gets or sets the latitude degrees.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in degrees).

The default value is 43 degrees.

◆ LatitudeMinutes

str LatitudeMinutes = property(fget=__GetLatitudeMinutes, fset=__SetLatitudeMinutes)
static

Gets or sets the latitude minutes.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in minute).

The default value is 9 minutes.

◆ LatitudeSeconds

str LatitudeSeconds = property(fget=__GetLatitudeSeconds, fset=__SetLatitudeSeconds)
static

Gets or sets the latitude seconds.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in second).

The default value is 12 seconds.

◆ Location

str Location = property(fget=__GetLocation, fset=__SetLocation)
static

Gets or sets a predefined location.

Prerequisite: The UserDefinedLocation property must be False.

Value type: String.

The default value is "ANSYS, France".

◆ LongitudeDegrees

str LongitudeDegrees = property(fget=__GetLongitudeDegrees, fset=__SetLongitudeDegrees)
static

Gets or sets the longitude degrees.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in degrees).

The default value is 6 degrees.

◆ LongitudeMinutes

str LongitudeMinutes = property(fget=__GetLongitudeMinutes, fset=__SetLongitudeMinutes)
static

Gets or sets the longitude minutes.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in minute).

The default value is 2 minutes.

◆ LongitudeSeconds

str LongitudeSeconds = property(fget=__GetLongitudeSeconds, fset=__SetLongitudeSeconds)
static

Gets or sets the longitude seconds.

Prerequisite: The UserDefinedLocation property must be True.

Value type: Integer (in second).

The default value is 56 seconds.

◆ Minute

str Minute = property(fget=__GetMinute, fset=__SetMinute)
static

Gets or sets the minute.

Value type: Integer.
Range: [0, 59] (in minute).

The default value is the current minute.

◆ Month

str Month = property(fget=__GetMonth, fset=__SetMonth)
static

Gets or sets the month.

Value type: Integer.
Range: [1, 12] (in month).

The default value is the current month.

◆ TimezoneId

str TimezoneId = property(fget=__GetTimezoneId, fset=__SetTimezoneId)
static

Gets or sets a timezone by Id.

The property UserDefinedLocation must be True.

Value type: String.

The default value is "CET".

◆ UserDefinedLocation

str UserDefinedLocation = property(fget=__GetUserDefinedLocation, fset=__SetUserDefinedLocation)
static

Gets or sets the property to enable/disable the user defined location.

True: Sets the timezone, the Earth coordinates date and time manually.
False: Uses predefined location.

Value type: Boolean.

The default value is False.

◆ Year

str Year = property(fget=__GetYear, fset=__SetYear)
static

Gets or sets the year.

Value type: Integer (in year).
Range: The value must be superior to 0.

The default value is the current Year.


The documentation for this class was generated from the following file:
  • SpeosNX_2412.py

Connect with Ansys