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#
Copy
public class WatchTime : Disposable
Inheritance
WatchTime

Constructors

View Source

WatchTime()

Constructor.

Declaration
C#
Copy
public WatchTime()
API Level: 4

Properties

View Source

Day

Get the current day.

Declaration
C#
Copy
public int Day { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

DaylightSavingTimeStatus

Get the daylight saving time status.

Declaration
C#
Copy
public bool DaylightSavingTimeStatus { get; }
Property Value
Type Description
Boolean
Remarks

The WatchTime needs to be initialized.

API Level: 4
View Source

DayOfWeek

Get the current week.

Declaration
C#
Copy
public int DayOfWeek { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Hour

Get the current hour.

Declaration
C#
Copy
public int Hour { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Hour24

Get the current hour24.

Declaration
C#
Copy
public int Hour24 { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Millisecond

Get the current millisecond.

Declaration
C#
Copy
public int Millisecond { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Minute

Get the current minute.

Declaration
C#
Copy
public int Minute { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Month

Get the current month.

Declaration
C#
Copy
public int Month { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

Second

Get the current second.

Declaration
C#
Copy
public int Second { get; }
Property Value
Type Description
Int32
Remarks

The return value is always positive.The WatchTime needs to be initialized.

API Level: 4
View Source

TimeZone

Get the ID of timezone.

Declaration
C#
Copy
public 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
View Source

Year

Get the current year.

Declaration
C#
Copy
public 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

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Extension Methods