Skip to main content

Speos NX library 2024 R2

Timezone Class Reference

Last update: 17.07.2025

Represents a Timezone. More...

Inheritance diagram for Timezone:
_object

Properties

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

Detailed Description

Represents a Timezone.

This class cannot be instantiated.

Property Documentation

◆ Day

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

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

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

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

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

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

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

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

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

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

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

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

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

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.py

Connect with Ansys