Package com.drew.metadata
Class Age
java.lang.Object
com.drew.metadata.Age
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Represents an age in years, months, days, hours, minutes and seconds.
Used by certain Panasonic cameras which have face recognition features.
-
Constructor Summary
ConstructorsConstructorDescriptionAge(int years, int months, int days, int hours, int minutes, int seconds) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static AgeDeprecated.Parses an age object from the string format used by Panasonic cameras:0031:07:15 00:00:00intgetDays()Deprecated.intgetHours()Deprecated.intDeprecated.intDeprecated.intDeprecated.intgetYears()Deprecated.inthashCode()Deprecated.Deprecated.toString()Deprecated.
-
Constructor Details
-
Age
public Age(int years, int months, int days, int hours, int minutes, int seconds) Deprecated.
-
-
Method Details
-
fromPanasonicString
Deprecated.Parses an age object from the string format used by Panasonic cameras:0031:07:15 00:00:00- Parameters:
s- The String in format0031:07:15 00:00:00.- Returns:
- The parsed Age object, or null if the value could not be parsed
-
getYears
public int getYears()Deprecated. -
getMonths
public int getMonths()Deprecated. -
getDays
public int getDays()Deprecated. -
getHours
public int getHours()Deprecated. -
getMinutes
public int getMinutes()Deprecated. -
getSeconds
public int getSeconds()Deprecated. -
toString
Deprecated. -
toFriendlyString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-