public class OwExprTime extends Object implements Comparable
OwExprTime.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Field and Description |
---|---|
static double |
MILISECONDS_IN_HOUR |
static double |
MILISECONDS_IN_MINUTE |
static double |
MILLISECONDS_IN_DAY |
static double |
SECONDS_IN_DAY |
static double |
SECONDS_IN_HOUR |
static double |
SECONDS_IN_MINUTE |
Constructor and Description |
---|
OwExprTime(int hours_p,
int minutes_p,
int seconds_p) |
OwExprTime(int years_p,
int months_p,
int days_p,
double inDays_p) |
OwExprTime(int years_p,
int months_p,
int days_p,
double inDays_p,
double inUTCDays_p,
int hours_p,
int minutes_p,
int seconds_p) |
OwExprTime(int years_p,
int months_p,
int days_p,
double inDays_p,
int hours_p,
int minutes_p,
int seconds_p) |
Modifier and Type | Method and Description |
---|---|
OwExprTime |
add(OwExprTime t_p) |
Calendar |
addTo(Calendar calendar_p) |
int |
compareTo(Object object_p) |
static OwExprTime |
diff(Calendar c1_p,
Calendar c2_p) |
boolean |
equals(Object obj_p) |
int |
getDays() |
int |
getHours() |
double |
getInDays() |
double |
getInUTCDays() |
int |
getMinutes() |
int |
getMonths() |
int |
getSeconds() |
int |
getYears() |
int |
hashCode() |
static OwExprTime |
hours(int hours_p) |
static OwExprTime |
minutes(int minutes_p) |
static OwExprTime |
seconds(int seconds_p) |
OwExprTime |
substract(OwExprTime time_p) |
Calendar |
substractFrom(Calendar calendar_p) |
static OwExprTime |
time(int hours_p,
int minutes_p,
int seconds_p) |
static OwExprTime |
timeInDays(double days_p) |
String |
toString() |
public static final double SECONDS_IN_MINUTE
public static final double SECONDS_IN_HOUR
public static final double SECONDS_IN_DAY
public static final double MILISECONDS_IN_HOUR
public static final double MILISECONDS_IN_MINUTE
public static final double MILLISECONDS_IN_DAY
public OwExprTime(int years_p, int months_p, int days_p, double inDays_p)
public OwExprTime(int hours_p, int minutes_p, int seconds_p)
public OwExprTime(int years_p, int months_p, int days_p, double inDays_p, int hours_p, int minutes_p, int seconds_p)
public OwExprTime(int years_p, int months_p, int days_p, double inDays_p, double inUTCDays_p, int hours_p, int minutes_p, int seconds_p)
public static final OwExprTime seconds(int seconds_p)
public static final OwExprTime minutes(int minutes_p)
public static final OwExprTime hours(int hours_p)
public static final OwExprTime time(int hours_p, int minutes_p, int seconds_p)
public static final OwExprTime timeInDays(double days_p)
public static final OwExprTime diff(Calendar c1_p, Calendar c2_p)
public final int getYears()
public final int getMonths()
public final int getDays()
public final double getInDays()
public final double getInUTCDays()
public final int getHours()
public final int getMinutes()
public final int getSeconds()
public final OwExprTime substract(OwExprTime time_p)
public final OwExprTime add(OwExprTime t_p)
public int compareTo(Object object_p)
compareTo
in interface Comparable
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.