Here you can find the source of dayFromDateValue(long x)
Parameter | Description |
---|---|
x | the date value |
public static int dayFromDateValue(long x)
//package com.java2s; //License from project: Open Source License public class Main { /**/*w ww . j a v a 2s.com*/ * Get the day of month from a date value. * * @param x the date value * @return the day (1..31) */ public static int dayFromDateValue(long x) { return (int) (x & 31); } }