Class WatchTime
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 4
The WatchTime class is used to get time for the WatchApplication.
A WatchTime has a time handle from watch application framework.
You can get time(hour, minute, second, millisecond) and date(year, month, day)
on receiving timeTick signal.
C#Copypublic class WatchTime : Disposable, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic WatchTime()
API Level: 4
Fields
Declaration
C#Copyprotected bool swigCMemOwn
Field Value
Type | Description |
---|---|
System.Boolean |
API Level: 4
Properties
Declaration
C#Copypublic int Day { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic bool DaylightSavingTimeStatus { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int DayOfWeek { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Hour { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Hour24 { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Millisecond { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Minute { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Month { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int Second { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic string TimeZone { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The WatchTime needs to be initialized.
The timezone ID, according to the IANA(Internet Assigned Numbers Authority)
If you want to see more information, please refer to the site :
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones/
API Level: 4
Declaration
C#Copypublic int Year { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Methods
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | DisposeTypes |