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
- Inheritance
Constructors
Declaration
C#Copypublic WatchTime()
API Level: 4
Properties
Declaration
C#Copypublic int Day { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
Boolean |
Remarks
The WatchTime needs to be initialized.
API Level: 4
Declaration
C#Copypublic int DayOfWeek { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
Int32 |
Remarks
The return value is always positive.The WatchTime needs to be initialized.
API Level: 4
Methods
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |