FirebaseVisionBarcode.CalendarDateTime
Stay organized with collections
Save and categorize content based on your preferences.
DateTime data type used in calendar events. If hours/minutes/seconds are not specified in
the barcode value, they will be set to -1.
Public Method Summary
int |
getDay()
Gets the day of the calendar date time.
|
int |
getHours()
Gets the hours of the calendar date time.
|
int |
getMinutes()
Gets the minutes of the calendar date time.
|
int |
getMonth()
Gets the month of the calendar date time.
|
String
|
|
int |
getSeconds()
Gets the seconds of the calendar date time.
|
int |
getYear()
Gets the year of the calendar date time.
|
boolean |
isUtc()
Gets whether the date time is UTC.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public int getDay ()
Gets the day of the calendar date time.
public int getHours ()
Gets the hours of the calendar date time.
public int getMinutes ()
Gets the minutes of the calendar date time.
public int getMonth ()
Gets the month of the calendar date time.
public String getRawValue ()
Gets the raw value calendar date time.
public int getSeconds ()
Gets the seconds of the calendar date time.
public int getYear ()
Gets the year of the calendar date time.
public boolean isUtc ()
Gets whether the date time is UTC.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-08-08 UTC.
[null,null,["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionBarcode.CalendarDateTime\n\npublic static class **FirebaseVisionBarcode.CalendarDateTime** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nDateTime data type used in calendar events. If hours/minutes/seconds are not specified in\nthe barcode value, they will be set to -1. \n\n### Public Method Summary\n\n|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int | [getDay](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getDay())() Gets the day of the calendar date time. |\n| int | [getHours](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getHours())() Gets the hours of the calendar date time. |\n| int | [getMinutes](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getMinutes())() Gets the minutes of the calendar date time. |\n| int | [getMonth](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getMonth())() Gets the month of the calendar date time. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getRawValue](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getRawValue())() Gets the raw value calendar date time. |\n| int | [getSeconds](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getSeconds())() Gets the seconds of the calendar date time. |\n| int | [getYear](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#getYear())() Gets the year of the calendar date time. |\n| boolean | [isUtc](/docs/reference/android/com/google/firebase/ml/vision/barcode/FirebaseVisionBarcode.CalendarDateTime#isUtc())() Gets whether the date time is UTC. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public int **getDay** ()\n\nGets the day of the calendar date time. \n\n#### public int **getHours** ()\n\nGets the hours of the calendar date time. \n\n#### public int **getMinutes** ()\n\nGets the minutes of the calendar date time. \n\n#### public int **getMonth** ()\n\nGets the month of the calendar date time. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getRawValue** ()\n\nGets the raw value calendar date time. \n\n#### public int **getSeconds** ()\n\nGets the seconds of the calendar date time. \n\n#### public int **getYear** ()\n\nGets the year of the calendar date time. \n\n#### public boolean **isUtc** ()\n\nGets whether the date time is UTC."]]