public class Age
extends java.lang.Object
Constructor and Description |
---|
Age(int years,
int months,
int days,
int hours,
int minutes,
int seconds) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Age |
fromPanasonicString(java.lang.String s)
Parses an age object from the string format used by Panasonic cameras:
0031:07:15 00:00:00 |
int |
getDays() |
int |
getHours() |
int |
getMinutes() |
int |
getMonths() |
int |
getSeconds() |
int |
getYears() |
int |
hashCode() |
java.lang.String |
toFriendlyString() |
java.lang.String |
toString() |
public Age(int years, int months, int days, int hours, int minutes, int seconds)
public static Age fromPanasonicString(java.lang.String s)
0031:07:15 00:00:00
s
- The String in format 0031:07:15 00:00:00
.public int getYears()
public int getMonths()
public int getDays()
public int getHours()
public int getMinutes()
public int getSeconds()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFriendlyString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2002-2013 Drew Noakes. All Rights Reserved.